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

Revision history [back]

Start Simulation For ThermalZone With IdealLoadsAirSystem In C#

hello to all friend, I have created a simple example consisting of a thermal zone with door and window. Also, I have considered an ideal system for it, I have created the osm file, now I want to get the energy simulation as well as the calculation of the thermal and cooling loads of the system for this thermal zone, which class should I use to Start perform the simulation ?

Start Simulation For ThermalZone With IdealLoadsAirSystem In C#

hello to all friend, I have created a simple example consisting of a thermal zone with door and window. Also, I have considered an ideal system for it, I have created the osm file, now I want to get the energy simulation as well as the calculation of the thermal and cooling loads of the system for this thermal zone, which class should I use to Start perform the simulation ?

Start Simulation For ThermalZone With IdealLoadsAirSystem In C#

hello to all friend, I have created a simple example consisting of a thermal zone with door and window. Also, I have considered an ideal system for it, I have created the osm file, now I want to get the energy simulation as well as the calculation of the thermal and cooling loads of the system for this thermal zone, which class should I use to Start perform the simulation ?

Start Simulation For ThermalZone With IdealLoadsAirSystem In C#

hello to all friend, I have created a simple example consisting of a thermal zone with door and window. Also, I have considered an ideal system for it, I have created the osm file, now I want to get the energy simulation as well as the calculation of the thermal and cooling loads of the system for this thermal zone, which class should I use to Start perform the simulation ?

I wrote the following code to analyze the model that I have attached the osm file But at the time of execution, it gets an error from modelmeasure For modelmeasure, it is not possible to create a manufacturer, thank you for your guidance

OpenStudio.WorkflowJSON workflowJSON = new OpenStudio.WorkflowJSON(); OpenStudio.Workspace workspace = new OpenStudio.Workspace(); OpenStudio.OSArgumentVector arguments = new OpenStudio.OSArgumentVector(); OpenStudio.OSArgumentMap argumentmap = new OpenStudio.OSArgumentMap(); OpenStudio.OSRunner oSRunner = new OpenStudio.OSRunner(workflowJSON); oSRunner.setLastOpenStudioModel(this.Model); oSRunner.validateUserArguments(arguments, argumentmap); oSRunner.setLastEnergyPlusWorkspace(workspace);
oSRunner.registerFinalCondition("Generated report"); oSRunner.registerInitialCondition("");

OpenStudio.ModelMeasure modelMeasure = null; modelMeasure.run(this.Model, oSRunner, argumentmap);

Start Simulation For ThermalZone With IdealLoadsAirSystem In C#

hello to all friend, I have created a simple example consisting of a thermal zone with door and window. Also, I have considered an ideal system for it, I have created the osm file, now I want to get the energy simulation as well as the calculation of the thermal and cooling loads of the system for this thermal zone, which class should I use to Start perform the simulation ?

I wrote the following code to analyze the model that I have attached the osm file But at the time of execution, it gets an error from modelmeasure For modelmeasure, it is not possible to create a manufacturer, thank you for your guidance

OpenStudio.WorkflowJSON workflowJSON = new OpenStudio.WorkflowJSON();
OpenStudio.Workspace workspace = new OpenStudio.Workspace();
OpenStudio.OSArgumentVector arguments = new OpenStudio.OSArgumentVector();
OpenStudio.OSArgumentMap argumentmap = new OpenStudio.OSArgumentMap();
OpenStudio.OSRunner oSRunner = new OpenStudio.OSRunner(workflowJSON);
oSRunner.setLastOpenStudioModel(this.Model);
oSRunner.validateUserArguments(arguments, argumentmap);
oSRunner.setLastEnergyPlusWorkspace(workspace); 
oSRunner.registerFinalCondition("Generated report"); oSRunner.registerInitialCondition("");

oSRunner.registerInitialCondition(""); OpenStudio.ModelMeasure modelMeasure = null; modelMeasure.run(this.Model, oSRunner, argumentmap);

argumentmap);