First time here? Check out the Help page!

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

E+ API, changing System Node Temperature Setpoint, doesn't change energy meter?

asked 1 year ago

LeSUTHU's avatar

Hey, I'm currently using python E+ API for creating a reinforcement learning agent.

The problem is the agent is altering the actuator which I have set as

            "sat_spt": (
            "System Node Setpoint",
            "Temperature Setpoint",
            "zone inlet node_unit1"
        ),

and I am keeping track of the electric consumption for HVAC:

        self.meters = {
        # HVAC elec (J)
        "elec": "Electricity:HVAC",
    }

I tried having the Setpoint Temperature to set values like 15 degrees, and 30 degrees for the other simulation, but when I sum up the Electrcity:HVAC value for each simulation with different setpoint temperature value, the energy consumption value come out to be the same.

I'm not sure why this is the case.

Preview: (hide)

Comments

@LeSUTHU have you confirmed that the actual system node temperature of that node ("zone inlet node_unit1") is following the setpoint actuator? If not, you'll need to use a different actuator approach, like what @shorowit suggested.

Aaron Boranian's avatar Aaron Boranian  ( 1 year ago )

1 Answer

Sort by » oldest newest most voted
1

answered 1 year ago

If all you're trying to do is change the HVAC thermostat setpoint, actuate the schedule value of, say, the ThermostatSetpoint:DualSetpoint's heating and cooling setpoint schedules.

Preview: (hide)
link

Comments

ZoneControl:Thermostat, Zone Thermostat_unit1, !- Name living_unit1, !- Zone or ZoneList Name zone_control_type, !- Control Type Schedule Name ThermostatSetpoint:DualSetpoint, !- Control 1 Object Type thermostat_living Dual SP Control; !- Control 1 Name

I have these in my idf file. Do you happen to have any python code to actuate these?

LeSUTHU's avatar LeSUTHU  ( 1 year ago )

It's not python, but there's an example of actuating a schedule here: https://bigladdersoftware.com/epx/doc...

shorowit's avatar shorowit  ( 1 year ago )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 1 year ago

Seen: 154 times

Last updated: May 24 '23