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

BaseboardHeater's profile - activity

2022-02-06 12:06:28 -0500 received badge  Teacher (source)
2021-09-21 04:02:14 -0500 received badge  Rapid Responder (source)
2021-09-21 04:02:14 -0500 answered a question EP "Small office" model: Temperature oscillations

Look at the fraction radiant factor. https://bigladdersoftware.com/epx/docs/8-0/input-output-reference/page-015.html#f

2021-09-21 03:32:49 -0500 asked a question Invalid weather line error with API

Invalid weather line error with API I am using the Energyplus-API for simulation. So I am using the same python-script a

2021-09-08 04:18:10 -0500 marked best answer How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?
  • In a previous question, I asked about the callback function in the Energyplus-API and how to simulate every time-step (https://unmethours.com/question/58313...)
  • Now we want to control with an external python script the heat-load in Watt [W], which is sent into the Thermal Zone. But with the EnergyManagementSystem (EMS), you can only control and actuate the thermostat setpoints, but there is no actuation for the thermal loads
  • In our previous simulation we defined a ElectricEquipment Object, with a thermal Load of 10000 Watt, and we controlled it with the ExternalInterface and the FMU.

ElectricEquipment,

Fake_HVAC,                !- Name

Thermal Zone 1,           !- Zone or ZoneList Name

HVAC_SetTable,            !- Schedule Name

EquipmentLevel,           !- Design Level Calculation Method
10000,                    !- Design Level
,                         !- Watts per Zone Floor Area
,                         !- Watts per Person
0,                        !- Fraction Latent
1,                        !- Fraction Radiant
0,                        !- Fraction Lost
Baseboard Heat;           !- EndUse Subcategoryote

ExternalInterface:FunctionalMockupUnitExport:To:Schedule,

   HVAC_SetTable,            !- Schedule Name
   Any Number,               !- Schedule Type Limits Names
   HVAC_setter,              !- FMU Variable Name
   0;                        !- Initial Value
  • My question is now, how i can use this approach for my simulation with the Energyplus-API? Because i can only use the function set_actuator_value(actuator_handle: int, actuator_value: ctypes.c_double), I can only use actuators from the EMS, but our approach is not connected to EMS?

  • It also could be, that our approach is just realizable with the ExternalInterface and the FMU. Then the current API-version is not useful for controlling thermal loads. Or should we define a ElectricBaseboard with EMS and calculate the Thermal Loads with the temperatures with set every time step?

  • I know it is a difficult question, but the API is a new feature of Energyplus, and we want to simulate a big city with electrical loads, heat pumps, electric grids and the domestic houses. So the calculations with the FMU are very expensive and need a lot of time. This is why we want to use the API. Thank you in advance :)

2021-09-08 04:17:48 -0500 commented answer How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?

Thank you very much :) you again helped me a lot. I used the EMSCustomSchedule.idf-File in the folder ExampleFiles as gu

2021-09-07 07:02:25 -0500 edited question How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?

How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?)? In a previous question, I ask

2021-09-07 07:02:25 -0500 received badge  Editor (source)
2021-09-07 06:37:18 -0500 asked a question How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?

How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?)? In a previous question, I ask

2021-09-07 06:37:15 -0500 asked a question How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?)?

How to use Energyplus-API to control ElectricEquipment like in ExternalInterface (FMU)?)? In a previous question, I ask

2021-09-01 07:13:35 -0500 commented answer How can I simulate just one time-step (dt = 60s) with the E+-API?

In our case we want to simulate the whole town with electric grids, heat pumps, houses and eventually the heating networ

2021-08-26 02:19:11 -0500 marked best answer How can I simulate just one time-step (dt = 60s) with the E+-API?

I still have some questions because of the EnergyPlus-API for Python :)

How I can simulate just one step with the api? Because there is just the function run_energyplus(state: ctypes.c_void_p, command_line_args: List[Union[str, bytes]]) and it simulates the whole time span.

In my function, I want to simulate one step, calculate one actuator value with an external function, use api.exchange.set_actuator_value() to set the actuator for the baseboard heater and simulate the next time step.

Previously we used the FMU-simulation in python and there we could define a do_step function.

Thank you very much :)

def do_step(self, setpoints):
    """
    Simulate one step
    :param setpoints: dict of setpoints
    :return: variables
    """
    # set set-points and do sim-step
    for key in setpoints.keys():
        self.model.set(key, setpoints[key])

    self.model.do_step(self.model._get_time(), self.config["dt_s"])
    # time.append(model._get_time())
    # get values for variables in varliable-list:
    var_dict = {var_name: self.model.get(var_name) for var_name in self.var_list}
    return var_dict
2021-08-05 07:03:27 -0500 asked a question How can I simulate just one time-step (dt = 60s) with the E+-API?

How can I simulate just one time-step (dt = 60s) with the E+-API? I still have some questions because of the EnergyPlus-

2021-08-05 07:03:23 -0500 asked a question How can I simulate just one time-step (dt = 60s) with the E+-API?

How can I simulate just one time-step (dt = 60s) with the E+-API? I still have some questions because of the EnergyPlus-

2021-07-29 03:16:13 -0500 commented answer Different building standards in idf-file

Thank You very much :)

2021-07-29 03:15:53 -0500 marked best answer Different building standards in idf-file

Hello There,

We wanted to simulate several buildings, which all have different heating demands. At first, we changed the conductivity of the materials, to get a higher heat flow towards the outside. Next, we tested the customization of the wall thickness.

In both cases, we got a different annual heat demand, but is there any better approach or is something suggested from energyplus itself?

In Germany there are several building standards like EnEV02 or EnEV16, which defines, how good the isolation of a building is. Therefore, it is necessary to model different annual heat demands.

Material,
EPS_Roof,                 !- Name
MediumSmooth,             !- Roughness
0.476,                    !- Thickness
0.035,                    !- Conductivity
15,                       !- Density
1000,                     !- Specific Heat
0.9,                      !- Thermal Absorptance
0.7,                      !- Solar Absorptance
0.7;                      !- Visible Absorptance
2021-07-29 03:15:53 -0500 received badge  Scholar (source)
2021-07-29 03:15:52 -0500 received badge  Supporter (source)
2021-07-27 03:24:16 -0500 asked a question Different building standards in idf-file

Different building standards in idf-file Hello There, We wanted to simulate several buildings, which all have different

2021-07-27 03:24:13 -0500 asked a question Different building standards in idf-file

Different building standards in idf-file Hello There, We wanted to simulate several buildings, which all have different

2018-10-27 12:41:54 -0500 received badge  Student (source)
2018-10-25 11:37:52 -0500 asked a question Control current heating load of a boiler for every timestep

Control current heating load for a boiler for every timestep Hi everyone, i'm trying to build a simulation where i can