modelProsumer

Extends from TransiEnt.Basics.Icons.Household (Icon Households).

Information

1. Purpose of model

The purpose of this model is to combine different technological features of modern residential households into one Prosumer model. The model main components are:

TransiEnt.Components.Sensors.SmartMeter : A model for generating realistic measurements/information outputs of Smart Meters.

TransiEnt.Storage.Electrical.BatterySimple: A model for household battery electric storage systems.

TransiEnt.Consumer.Electrical.ElectricVehicle.BatteryElectricVehicle: A model for a Battery Electric Vehicle and its behaviour when charging with non-public charging infrastructure (wallboxes)

TransiEnt.Consumer.Heat.SpaceHeating.Heating: A model for the building heating combining a dynamic heat loss model dependent on the households dimensions, an electric heatpump and an electrical heater rod.

TransiEnt.Producer.Electrical.Photovoltaics.Advanced_PV.DNIDHI_Input.PVPlantControllable: A photovoltaic power plant with controllable reactive behaviour.

TransiEnt.Components.Boundaries.Electrical.ComplexPower.PQBoundary_new: A PQ boundary to represent inflexible load profiles within a complex RMS grid simulation.


2. Level of detail, physical effects considered, and physical insight

Please have a further look in the subcomponents.

3. Limits of validity

Please have a further look in the subcomponents.

4. Interfaces

controlBus for input and output parameters regarding power setpoints, limitations and measurements.

5. Nomenclature

See parameter and variable descriptions in the code.

6. Governing Equations

Please have a further look in the subcomponents.


7. Remarks for Usage

Choose the configuration of the subcomponents for your purpose.

8. Validation

Please have a further look in the subcomponents.

9. References

[1] T. Steffen, B. Wiegel, D. Babazadeh, A. Youssfi, C. Becker and V. Turau, "Generation of realistic Smart Meter Data from Prosumers for future energy system scenarios," NEIS 2022; Conference on Sustainable Energy Supply and Energy Storage Systems, Hamburg, Germany, 2022, pp. 1-6.

[2] B. Wiegel, T. Steffen, D. Babazadeh and C. Becker, "Towards a more comprehensive open-source model for interdisciplinary smart integrated energy systems," 2023 11th Workshop on Modelling and Simulation of Cyber-Physical Energy Systems (MSCPES), San Antonio, TX, USA, 2023, pp. 1-7, doi: 10.1109/MSCPES58582.2023.10123432.


10. Version History

Added by Tom Steffen and Béla Wiegel, Techische Universität Hamburg, Institut für Elektrische Energietechnik, 2025

Parameters

TypeNameDefaultDescription
Electrical
Modelica.Units.SI.ActivePowerloadProfileScaleP
Modelica.Units.SI.ReactivePowerloadProfileScaleQ
Generation
BooleanusePVtrue
Modelica.Units.SI.PowerPV_peakPower10000peak power of PV plant
Modelica.Units.SI.AnglePV_slope10/180*Modelica.Constants.pislope of the tilted surface
Modelica.Units.SI.AnglePV_azimuth0/180*Modelica.Constants.pisurface azimuth angle
Modelica.Units.SI.PowerApparentPowerMaxPV_peakPower/0.9maximum apparent power of pv inverter
BooleanusePVSwitchfalse
ControlTypephotovoltaicControlTypeTransiEnt.Basics.Types.ControlType.InternalType of control for PV
Battery
BooleanuseBatterytrue
Modelica.Units.SI.EnergyBat_Capacity20e3*3600Battery Capacity
Modelica.Units.SI.PowerBat_PowerLimitPV_peakPowerCharge and discharge power
RealBat_SOCStart0.5SOC at simulation start
ControlTypebatteryControlTypeTransiEnt.Basics.Types.ControlType.InternalType of control for BES
Heating System
BooleanuseEHPtrue
Modelica.Units.SI.HeatFlowRateQ_HP_nom5e3nominal heat flow rate of heat pump
Modelica.Units.SI.VolumeV_BST800volume of buffer storage tank
Modelica.Units.SI.AreaA_living240living area
Modelica.Units.SI.AreaA_wall100area of exterior walls
Modelica.Units.SI.AreaA_window40area of windows
Modelica.Units.SI.AreaA_roof240area of rooftop
Modelica.Units.SI.AreaA_ground240area of ground of house
Modelica.Units.SI.VolumeV_air600Volume of air inside the house
Modelica.Units.SI.CoefficientOfHeatTransferU_wall0.28heat transfer coefficient of walls
Modelica.Units.SI.CoefficientOfHeatTransferU_window1.30heat transfer coefficient of windows
Modelica.Units.SI.CoefficientOfHeatTransferU_roof0.20heat transfer coefficient of rooftop
Modelica.Units.SI.CoefficientOfHeatTransferU_ground0.35heat transfer coefficient of ground of house
Modelica.Units.SI.HeatCapacitythermalMass19e6total thermal mass of building
ControlTypeheatingControlTypeTransiEnt.Basics.Types.ControlType.InternalType of control for heating system
BooleanheatingBusActivetrueActivate heat pump control bus
Electric Vehicle
Integernum_BEVs1number of BEVs
ControlTypebevControlTypeTransiEnt.Basics.Types.ControlType.InternalType of control for BEVs
Controller
BooleanuseControlBustrue
Data
Stringdata_local""path to simulation data
StringloadProfileName""name of load profile
StringtappingProfileName""name of tapping profile
Modelica.Units.SI.Timedata_timeOffset0
Stringdata_weatherLocation""name of load profile
Stringdata_weatherYear""year of weather data in yyyy
Metering
BooleanmanualConfigurationfalse
Stringconfiguration"Ideal"choose the basic configuration
BooleanuseNoisefalseActivates Noise Generator
BooleanuseDelayfalseActivates Delay Generator
Modelica.Units.SI.PerUnitsigma_I0.01Standard Deviation of the Current Sensor
Modelica.Units.SI.PerUnitsigma_V0.01Standard Deviation of the Voltage Sensor
Modelica.Units.SI.PerUnitsigma_Delay10Standard Deviation of the Voltage Sensor
IntegersamplePeriod60Sample Period for the noise generator of the Smart Meter
IntegermaxDelay60Maximum Delay Time
Initialization
InitinitTypeInit.NoInitType of initialization (1: no init, 2: steady state, others do not apply)

Connectors

TypeNameDefaultDescription
Basics.Interfaces.General.ControlBuscontrolBus
TransiEnt.Basics.Interfaces.Electrical.ComplexPowerPortepp

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
TransiEnt.Consumer.Electrical.ElectricVehicle.Characteristics.BEV_Data[num_BEVs]bev_data{TransiEnt.Consumer.Electrical.ElectricVehicle.Characteristics.BEV_Data(id = 1)}Data of BEVs
Storage.Electrical.Controller.BES_ControllerBES_Controller
Sensors.SmartMetersmartMeter
Boundaries.Electrical.ComplexPower.PQBoundaryinflexibleLoad
Storage.Electrical.BatterySimplebatterySimple
Producer.Electrical.Photovoltaics.Advanced_PV.DNIDHI_Input.PVPlantControllablePV
Consumer.Heat.SpaceHeating.Heatingheating
Consumer.Electrical.ElectricVehicle.BatteryElectricVehicle[num_BEVs]batteryElectricVehicle
TransiEnt.Basics.Tables.Ambient.GenericTemperatureDataTableResourcegenericTemperatureDataTableResource
TransiEnt.Basics.Tables.Ambient.GenericDHIDNIDataTableResourcegenericDHIDNIDataTable
TransiEnt.Basics.Tables.Ambient.GenericWindspeedDataTableResourcegenericWindspeedDataTable
TransiEnt.Basics.Tables.ElectricGrid.GenericLoadProfileDataTableResourcetable_LoadProfilePQ
TransiEnt.Basics.Tables.DrivingProfiles.GenericDrivingProfileDataTableResource[num_BEVs]table_Vehicle_V2
Modelica.Blocks.Sources.BooleanExpressionBES_bool
Modelica.Blocks.Sources.BooleanExpressionEHP_bool
Modelica.Blocks.Sources.RealExpressionNumber_of_BEVs
Modelica.Blocks.Sources.RealExpressionBattery_power
Modelica.Blocks.Sources.RealExpressionBattery_power1
Modelica.Blocks.Sources.BooleanExpressionPV_bool