modelHouseholdBatteryMaxSC
Household with battery storage - Maximizing self-consumption
Extends from ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.OnePortGroundedInit.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | Vnom (from OnePortGroundedInit) | 110e3 | Nominal phase-to-phase RMS voltage |
| Real | Household_Vnom | 400 | nominal voltage of household |
| Integer | Load_Type | ||
| Real | Load_Pnom | 2000.0 | nominal active power of PQ load |
| Real | Load_Qnom | 0.0 | nominal reactive power of PQ load |
| String | Load_ProfileFileName | "NoName" | File where load profile is stored |
| String | Load_ProfileName | "NoName" | Table name on load profile file |
| Real | PV_Pnom | 5000 | nominal power of pv system |
| String | PV_ProfileFileName | "NoName" | file where matrix is stored |
| String | PV_ProfileName | "NoName" | table name on file |
| Integer | PV_Controller | 0 | 0 = None, 1 = Q provision, 2 = P curtailment |
| Boolean | PV_SystemOn | true | PV system on/off |
| Real | PV_CurtailmentLimit | 70.0 | only effective for controller type 2 |
| Real | Bat_Cnom | 5000 | usable battery capacity in Wh |
| Boolean | Bat_SystemOn | true | Battery system on/off |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.Pin | Pin1 (from OnePortGrounded) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.ComplexVoltage | v (from OnePortGrounded) | ||
| Modelica.SIunits.ComplexCurrent | i (from OnePortGrounded) | ||
| SI.ActivePower | P (from OnePortGrounded) | Consumed Active Power | |
| SI.ReactivePower | Q (from OnePortGrounded) | Reactive Power | |
| SI.Voltage | V (from OnePortGrounded) | Voltage RMS phase-to-neutral | |
| SI.Voltage | Vpeak (from OnePortGrounded) | Voltage peak phase-to-neutral | |
| SI.Voltage | Vpp (from OnePortGrounded) | Voltage RMS phase-to-phase | |
| SI.Current | I (from OnePortGrounded) | Current RMS | |
| SI.Current | Ipeak (from OnePortGrounded) | Current peak | |
| SI.Angle | Vangle (from OnePortGrounded) | Voltage phase | |
| SI.Angle | Iangle (from OnePortGrounded) | Current phase | |
| SI.Angle | phi (from OnePortGrounded) | Phase shift between voltage and current | |
| Real | P_PCC | -P | total active power of the household fed into the grid |
| Real | Q_PCC | -Q | total reactive power of the household fed into the grid |
| Real | P_PV | -PV.P | generated active power of the PV system |
| Real | Q_PV | -PV.Q | generated reactive power of the PV system |
| Real | P_Bat | Bat.P_bat | battery charging power |
| Real | SOC_Bat | Bat.SOC | battery state of charge |
| Generation.SolarGenerator | PV | ||
| Storage.BatteryIdeal | Bat | ||
| ModPowerSystems.PhasorSinglePhase.Loads.PQLoad | PQ | ||
| ModPowerSystems.PhasorSinglePhase.Loads.PQLoadProfile | PQProfile | ||
| ModPowerSystems.PhasorSinglePhase.Loads.PQLoadNormProfile | PQNormProfile | ||
| Storage.ChargingControllers.MaximizeSelfConsumption | maximizeSelfConsumption |