How can I set Number of People through PyEnergyPlus

Hi guys, I am learning about pyenergyplus. I want to set the Number of People through pyenergyplus. I used the following code but I can't get the handle:

people_actuator = self.api.exchange.get_actuator_handle(
            state,
            "People",
            "Number of People",
            "Thermal Zone 1"  
        )

Can anyone please help me with it and Do I have to set the Number of People Calculation Method in the .idf file?

XiaoMA's avatar
1
XiaoMA
asked 2024-06-26 16:44:25 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2024-06-27 09:03:32 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments