modelHouseholdBatteryStatPSPCC

Household with battery storage - Static Peak-Shaving at PCC

Extends from ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.OnePortGroundedInit.

Parameters

TypeNameDefaultDescription
SI.VoltageVnom (from OnePortGroundedInit)110e3Nominal phase-to-phase RMS voltage
RealHousehold_Vnom400nominal voltage of household
IntegerLoad_Type
RealLoad_Pnom2000.0nominal active power of PQ load
RealLoad_Qnom0.0nominal reactive power of PQ load
StringLoad_ProfileFileName"NoName"File where load profile is stored
StringLoad_ProfileName"NoName"Table name on load profile file
RealPV_Pnom5000nominal power of pv system
StringPV_ProfileFileName"NoName"file where matrix is stored
StringPV_ProfileName"NoName"table name on file
IntegerPV_Controller00 = None, 1 = Q provision, 2 = P curtailment
BooleanPV_SystemOntruePV system on/off
RealPV_CurtailmentLimit70.0only effective for controller type 2
RealBat_Cnom5000usable battery capacity in Wh
BooleanBat_SystemOntrueBattery system on/off
RealBat_StaticPeakShavingLimit50.0in percent of nominal power of pv system

Connectors

TypeNameDefaultDescription
ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.PinPin1 (from OnePortGrounded)

Components

TypeNameDefaultDescription
Modelica.SIunits.ComplexVoltagev (from OnePortGrounded)
Modelica.SIunits.ComplexCurrenti (from OnePortGrounded)
SI.ActivePowerP (from OnePortGrounded)Consumed Active Power
SI.ReactivePowerQ (from OnePortGrounded)Reactive Power
SI.VoltageV (from OnePortGrounded)Voltage RMS phase-to-neutral
SI.VoltageVpeak (from OnePortGrounded)Voltage peak phase-to-neutral
SI.VoltageVpp (from OnePortGrounded)Voltage RMS phase-to-phase
SI.CurrentI (from OnePortGrounded)Current RMS
SI.CurrentIpeak (from OnePortGrounded)Current peak
SI.AngleVangle (from OnePortGrounded)Voltage phase
SI.AngleIangle (from OnePortGrounded)Current phase
SI.Anglephi (from OnePortGrounded)Phase shift between voltage and current
RealP_PCC-Ptotal active power of the household fed into the grid
RealQ_PCC-Qtotal reactive power of the household fed into the grid
RealP_PV-PV.Pgenerated active power of the PV system
RealQ_PV-PV.Qgenerated reactive power of the PV system
RealP_BatBat.P_batbattery charging power
RealSOC_BatBat.SOCbattery state of charge
Generation.SolarGeneratorPV
ModPowerSystems.PhasorSinglePhase.Storage.BatteryIdealBat
ModPowerSystems.PhasorSinglePhase.Loads.PQLoadPQ
ModPowerSystems.PhasorSinglePhase.Loads.PQLoadProfilePQProfile
ModPowerSystems.PhasorSinglePhase.Loads.PQLoadNormProfilePQNormProfile
Storage.ChargingControllers.StaticPeakShavingstaticPeakShaving