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

Creat Simple Thermostat in Openstudio C#

asked 2022-07-07 01:51:54 -0500

updated 2022-07-07 12:54:28 -0500

I want to make a thermostat to control the cooling and heating temperature and schedule each. I cannot find the desired class by searching the word "thermostat". Thank you for your help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-07-11 02:25:01 -0500

The OpenStudio SDK documentation is located at https://openstudio-sdk-documentation.... and the search box does work fine.

image description

Anyways, you want to use a ThermostatSetpointDualSetpoint

A very good starting point to see how to create a heating and a cooling schedule, create a thermostat, assign the schedules, and add it to a zone is this Ruby test: Porting it to C# should be straightforward.

edit flag offensive delete link more


thank you Julien, If I want to set a constant temperature thermostat, what class should I use?

Masoud's avatar Masoud  ( 2022-07-11 10:35:51 -0500 )edit

Same class, just use a Schedule that has the same value all the time.

Julien Marrec's avatar Julien Marrec  ( 2022-07-16 05:26:39 -0500 )edit

Thank you julien ๐Ÿ™๐Ÿ™

Masoud's avatar Masoud  ( 2022-09-23 16:51:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops


Question Tools

1 follower


Asked: 2022-07-07 01:51:54 -0500

Seen: 210 times

Last updated: Jul 12 '22