Code Monkey home page Code Monkey logo

rl-emspy's People

Contributors

ceube1 avatar mechyai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rl-emspy's Issues

unable to actuate number of people in a zone

Hi. I have been trying to simulate varying the number of people in a zone, but I keep getting the following error

Exception ignored on calling ctypes callback function: <function EmsPy._enclosing_callback.._callback_function at 0x11cb99ee0>
Traceback (most recent call last):
File "/Users/yash/Documents/Zodhya/RL-EmsPy/emspy/emspy.py", line 543, in _callback_function
self.set_ems_handles()
File "/Users/yash/Documents/Zodhya/RL-EmsPy/emspy/emspy.py", line 276, in set_ems_handles
setattr(self, 'handle
' + ems_type + '
' + name, self._get_handle(ems_type, handle_inputs))
File "/Users/yash/Documents/Zodhya/RL-EmsPy/emspy/emspy.py", line 308, in _get_handle
raise Exception(f'ERROR: [{str(ems_obj_details)}]: The EMS sensor/actuator handle could not be '
Exception: ERROR: [('People', 'Number of People', 'People_1')]: The EMS sensor/actuator handle could not be found. Please consult the .idf and/or your ToC for accuracy

This is the People object in my IDF file

`
People,

People_1, !- Name

Ergo Office 1, !- Zone or ZoneList Name

Ergo Schedule, !- Number of People Schedule Name

People, !- Number of People Calculation Method

1, !- Number of People

, !- People per Zone Floor Area {person/m2}

, !- Zone Floor Area per Person {m2/person}

0.3, !- Fraction Radiant

, !- Sensible Heat Fraction

Ergo Activity; !- Activity Level Schedule Name
`

And this is my tc_actuator dictionary

tc_actuators = { 'zn0_people': ('People', 'Number of People', 'People_1'), # deg C }

how to define HVAC control setpoints in idf file that can make tc_actuator work?

Dear @mechyai

Thank you for your great work!
In the RL-EmsPy-main\example_usage\simple_emspy_control.py, your wrote tc_actuators defination below.
tc_actuators = {
# HVAC Control Setpoints
'zn0_cooling_sp': [('Zone Temperature Control', 'Cooling Setpoint', zn0)], # deg C
'zn0_heating_sp': [('Zone Temperature Control', 'Heating Setpoint', zn0)], # deg C
}
I think that the definations above must be consistent with the zone Thermostat setpoint definition in the idf file. But how to define HVAC control setpoints in the idf file that can make tc_actuator work?
Besides, how to modify the idf file when I want to add humidity Setpoint in tc_actuators.

Best Regards;
P.S: idf file :simple_office_5zone_April.idf

How to control fan speed in a zone

Dear @mechyai

Thank for your great work!
In your samples of RL-Emspy, only random thermalstatic control was applied in a Zone by RL. But could you tell me how to control the fan speed by actuators.

Best regards:

names of different actions?

Hi @mechyai, I'm trying to replicate some papers that use different target setpoints.

# ACTION SPACE
"""
NOTE: only zn0 (CoreZn) has been setup in the model to allow 24/7 HVAC setpoint control. Other zones have default
HVAC operational schedules and night cycle managers that prevent EMS Actuator control 24/7. Essentially, at times the
HVAV is "off" and can't be operated. If all zones are to be controlled 24/7, they must be implemented as CoreZn.
See the "HVAC Systems" tab in OpenStudio to zone configurations.
"""
tc_actuators = {
# HVAC Control Setpoints
'zn0_cooling_sp': [('Zone Temperature Control', 'Cooling Setpoint', zn0)], # deg C
'zn0_heating_sp': [('Zone Temperature Control', 'Heating Setpoint', zn0)], # deg C
}

For example, a paper controls the supply air set point temperature of a VRF system. Where can I find the relevant actuators to do this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.