Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

MapMortar's profile - activity

2024-04-29 13:57:04 -0500 asked a question How is peakEnergyDemandByMonth calculated?

How is peakEnergyDemandByMonth calculated? In the sql object there is the peakEnergyDemandByMonth method. How is it cal

2024-04-23 10:26:38 -0500 edited question Is HotWaterEquipment available in the UI

Is HotWaterEquipment available in the UI Am I correct in thinking that HotWaterEquipment is not available in the UI (3.6

2024-04-23 10:26:28 -0500 commented question Is HotWaterEquipment available in the UI

@aaron Boranian Yes, I am aware. I am using this object as a temporary solution to represent the consumption of domestic

2024-04-23 10:25:47 -0500 commented question Is HotWaterEquipment available in the UI

@aaron Boranian Yes, I am aware. I am using this object as a temporary solution to represent the consumption of domestic

2024-04-23 02:26:14 -0500 asked a question Is HotWaterEquipment available in the UI

Is HotWaterEquipment available in the UI Am I correct in thinking that HotWaterEquipment is not available in the UI (3.6

2024-03-15 01:56:55 -0500 commented question Units in Openstudio Standards

I found the units for all the various quantities in the repository on Github. All the units are in the files called met

2024-03-14 09:57:47 -0500 asked a question Units in Openstudio Standards

Units in Openstudio Standards I looked at the documentation, but I could not find an answer. Does openstudio-standards u

2024-03-08 11:13:11 -0500 commented answer Track openstudio/eplus simulation progress

Thanks. Just tested. Perfect.

2024-03-08 11:12:36 -0500 marked best answer Track openstudio/eplus simulation progress

Hi,

I have found a very old post about tracking simulation progress using some log files. A nice hack, but it is not what I am looking for.

Currently, I generate my workflow files with Ruby, and run the simulations using the openstudio cli (from Ruby). Is there any way I could have some info about the progress of the eplus simulation so that I can provide some feedback to the frontend of our application?

Thanks

2024-03-08 05:24:56 -0500 asked a question Track openstudio/eplus simulation progress

Track openstudio/eplus simulation progress Hi, I have found a very old post about tracking simulation progress using so

2023-11-07 09:46:22 -0500 commented answer Openstudio standards - Whole Buildings

Good point. Thanks

2023-09-12 03:14:26 -0500 asked a question Openstudio standards - Whole Buildings

Openstudio standards - Whole Buildings Looking for advice on how to use openstudio-standards for space types that do not

2023-03-07 04:12:48 -0500 marked best answer Invalid weather file object when epw_file is assigned via the API

I am experiencing a strange behaviour when I assign the weather file using the SDK.

I am geneerating the model using the SDK and I assign the weather file as follows

(First, I copy all the files in working_dir)

weather_file_name = "USA_CA_San.Francisco-Presidio.994016_TMYx.2007-2021.epw"
weather_file_path = File.join("weather", weather_file_name)
FileUtils.cp(weather_file_path, File.join(working_dir, weather_file_name))
epw_file = OpenStudio::EpwFile.load(OpenStudio::Path.new(weather_file_path), true)
OpenStudio::Model::WeatherFile::setWeatherFile(model, epw_file.get)

I run the simulation with

workflow_path = File.join(working_dir, "workflow.osw")
`openstudio run -w #{workflow_path}`

Everything works fine and the correct weather file is used in the simulation. Also, the content of the osm model shows the lines

OS:WeatherFile,
  {67db8403-241d-4616-83a2-c7d3177aa76a}, !- Handle
  San.Francisco-Presidio,                 !- City
  CA,                                     !- State Province Region
  USA,                                    !- Country
  SRC-TMYx,                               !- Data Source
  994016,                                 !- WMO Number
  37.8043,                                !- Latitude {deg}
  -122.4749,                              !- Longitude {deg}
  -8,                                     !- Time Zone {hr}
  63,                                     !- Elevation {m}
  weather/USA_CA_San.Francisco-Presidio.994016_TMYx.2007-2021.epw, !- Url
  47E9BF69,                               !- Checksum
  ,                                       !- Start Date Actual Year
  Sunday;                                 !- Start Day of Week

However, if I save the model with model.save(path, true) and I open it with the Openstudio application, I get this error

image description

Any suggestion on what I am doing wrong? I had a look at the change location measure. Do I need to do something similar and update all the properties of the weather object?

2023-02-17 11:11:56 -0500 edited question How to add measure to localBCL

How to add measure to localBCL How do I add a custom measure to the local BCL and make it accessible via the OpenStudio:

2023-02-17 10:48:51 -0500 asked a question How to add measure to localBCL

How to add measure to localBCL How do I add a custom measure to the local BCL and make it accessible via the OpenStudio:

2023-02-09 03:46:53 -0500 asked a question EndUseType vs EndUseCategoryTypes

EndUseType vs EndUseCategoryTypes What is the difference between the two? So far I have been using EndUseCategoryTypes,

2023-01-20 03:51:56 -0500 commented answer Parametric analysis does not start

More tests. Added an EDIT 3 to the question for convenience.

2023-01-20 03:51:16 -0500 edited question Parametric analysis does not start

Parametric analysis does not start I am struggling to test PAT 3.5.1. I have deployed the cluster on AWS and verified t

2023-01-19 14:34:32 -0500 commented answer Parametric analysis does not start

Thanks, really appreciate it. The problem seems to be related to algorithmic analysis. This is a link to my project. You

2023-01-19 12:42:55 -0500 marked best answer Parametric analysis does not start

I am struggling to test PAT 3.5.1.

I have deployed the cluster on AWS and verified that all the pods are running

NAME                                                       READY   STATUS    RESTARTS   AGE
db-65f4c9ccf6-bzj4f                                        1/1     Running   0          30m
openstudio-server-nfs-server-provisioner-7784b767d-zdldd   1/1     Running   0          30m
redis-5ffc4f5d9f-lpcg6                                     1/1     Running   0          30m
rserve-5764d6f988-mqkvq                                    1/1     Running   0          30m
web-7d758b7fc5-trpwx                                       1/1     Running   0          30m
web-background-764bbfbc77-tfjc9                            1/1     Running   0          30m
worker-59cc4694b5-5bs2h                                    1/1     Running   0          30m
worker-59cc4694b5-9gbbg                                    1/1     Running   0          29m

I can connect to the server and view it on a browser, but no project is shown. If I show the development tools I can see the following error message when I launch the workflow. The analysis seems to start, but it gets stuck at Creating Analysis zip.

image description

It is a simple algorithmic analysis (LHS) with only one measure.

I have different AWS accounts and the cluster is created with the --profile user option. Could this be an issue? Does PAT uses the default AWS credentials in .aws?

Any help would be appreciated.

EDIT 1 Not sure if this is relevant, but when I check the cluster on AWS I see this message.

Your current user or role does not have access to Kubernetes objects on this EKS cluster This may be due to the current user or role not having Kubernetes RBAC permissions to describe cluster resources or not having an entry in the cluster’s auth config map.Learn more 

Also, the ccontent of ~/.kube/config is the following

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: ......
    server: https://C63FA7D546267F20444E92C67EF9BABA.yl4.eu-west-2.eks.amazonaws.com
  name: openstudio-server.eu-west-2.eksctl.io
contexts:
- context:
    cluster: openstudio-server.eu-west-2.eksctl.io
    user: ruggiero@openstudio-server.eu-west-2.eksctl.io
  name: ruggiero@openstudio-server.eu-west-2.eksctl.io
current-context: ruggiero@openstudio-server.eu-west-2.eksctl.io
kind: Config
preferences: {}
users:
- name: ruggiero@openstudio-server.eu-west-2.eksctl.io
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - token
      - -i
      - openstudio-server
      command: aws-iam-authenticator
      env:
      - name: AWS_STS_REGIONAL_ENDPOINTS
        value: regional
      - name: AWS_DEFAULT_REGION
        value: eu-west-2
      - name: AWS_PROFILE
        value: mioruggierodev
      provideClusterInfo: false

EDIT 2 The server seems to be working. I have tested it with the urbanoopt optimization work flow using the provided test files.

A project is created and the simulations run. They all fail, but that is a problem for another day

EDIT 3 (Adding here for convenience.) More tests. I opened the same file in PAT 3.4.0. The OSA and zip files are now generated without any issue. However, the workflow fails with this error

image description

But if I use openstudio_meta to run the analysis with

/Applications/ParametricAnalysisTool-3.5.1/ParametricAnalysisTool.app/Contents/Resources/ruby/bin/ruby /Applications/ParametricAnalysisTool-3.5.1/ParametricAnalysisTool.app/Contents/Resources/OpenStudio-server/bin/openstudio_meta run_analysis --debug --verbose testpat01.json http://aa98744be7a3c47fcadb63a78e8e493f-1360380086.eu-west-2.elb.amazonaws.com -a lhs

Everything works as expected and the analysis completes on the server.

2023-01-19 12:42:33 -0500 commented answer Parametric analysis does not start

Thank you very much for your help. The problem was indeed in the analysis settings. Still investigating. My analysis fai

2023-01-19 07:26:37 -0500 edited question Parametric analysis does not start

Parametric analysis does not start I am struggling to test PAT 3.5.1. I have deployed the cluster on AWS and verified t

2023-01-19 07:00:56 -0500 edited question Parametric analysis does not start

Parametric analysis does not start I am struggling to test PAT 3.5.1. I have deployed the cluster on AWS and verified t

2023-01-19 02:45:06 -0500 edited question Parametric analysis does not start

Parametric analysis does not start I am struggling to test PAT 3.5.1. I have deployed the cluster on AWS and verified t

2023-01-18 15:01:41 -0500 commented answer Parametric analysis does not start

Just tested on my old mac (intel). Same issue. I have different AWS accounts and the cluster is created with the --profi

2023-01-18 15:01:10 -0500 edited question Parametric analysis does not start

Parametric analysis does not start I am struggling to test PAT 3.5.1. I have deployed the cluster on AWS and verified t

2023-01-18 15:00:56 -0500 commented answer Parametric analysis does not start

Just tested on my old mac (intel). Same issue. I have different AWS accounts and the cluster is created with the --profi

2023-01-18 12:47:40 -0500 commented answer Parametric analysis does not start

I am using macos (arm)

2023-01-18 11:38:44 -0500 commented answer Parametric analysis does not start

Exactly and the job does not proceed. Waited for 15 minutes, but it is stuck at Creating Analysis Zip..

2023-01-18 10:30:12 -0500 commented answer Parametric analysis does not start

Hi, I have deleted the cluster now, but yes, I can confirm that the the icon was green. Also I can see the server from b

2023-01-18 10:29:37 -0500 edited question Parametric analysis does not start

Parametric analysis does not start I am struggling to test PAT 3.5.1. I have deployed the cluster on AWS and verified t

2023-01-18 10:27:54 -0500 received badge  Commentator
2023-01-18 10:27:54 -0500 commented answer Parametric analysis does not start

Hi, I have deleted the cluster now, but yes, I can confirm that the the icon was green. Also I can see the server from b

2023-01-18 02:19:54 -0500 asked a question Parametric analysis does not start

Parametric analysis does not start I am struggling to test PAT 3.5.1. I have deployed the cluster and verified that all

2023-01-17 08:12:25 -0500 edited question OS sdk 3.5.1 - Messed up installation

OS sdk 3.5.1 - Messed up installation I believe I messed up my installation and development setup by installing OS SDK 3

2023-01-17 07:43:49 -0500 edited question OS sdk 3.5.1 - Messed up installation

OS sdk 3.5.1 - Messed up installation I believe I messed up my installation and development setup by installing OS SDK 3

2023-01-17 07:42:22 -0500 asked a question OS sdk 3.5.1 - Messed up installation

OS sdk 3.5.1 - Messed up installation I believe I messed up my installation and development setup by installing OS SDK 3

2022-11-14 03:10:46 -0500 edited answer Get/Set default COP for district cooling via openstudio SDK

(Rather than creating a new question I think it is better to continue here for future reference.) I managed to change t

2022-11-14 01:47:36 -0500 answered a question Get/Set default COP for district cooling via openstudio SDK

(Rather than creating a new question I think it is better to continue here for future reference.) I managed to change t

2022-11-13 23:45:53 -0500 commented answer Get/Set default COP for district cooling via openstudio SDK

Thanks both. That's exactly what I need. I wanted a way to set the COP via a measure. In this way I can just extend my e

2022-11-13 11:26:00 -0500 commented answer Get/Set default COP for district cooling via openstudio SDK

Thanks @Aaron Boranian. That's exactly what I need. I wanted a way to set the COP via a measure. In this way I can just

2022-11-13 11:02:36 -0500 marked best answer Get/Set default COP for district cooling via openstudio SDK

Is it possible to get/set the default district cooling COP via the openstudio SDK? I read a post from a few years back where it was suggested to 'inject' an IDF file via an energy plus measure. Is this still the case?

And as a follow up, is it possible to get the data for Site and Source Summary? Looking at the OpenstudioResults measure it seems that the way to do this is with a query to the sql output file directly.

query = "SELECT Value FROM tabulardatawithstrings WHERE ReportName='#{report_name}' and TableName='#{table_name}' and RowName= '#{row}' and ColumnName= '#{header}'"