How can I set Number of People through PyEnergyPlus

asked Jun 26

XiaoMA's avatar

updated Jun 27

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?

Preview: (hide)