modelTimedOperation

Timed operation - no charging during or out of specified hours

Extends from TransiEnt.Consumer.Systems.HouseholdEnergyConverter.Systems.Control_Battery.Base.Controller_PV_Battery.

Information

1. Purpose of model

Control model for a PV battery. Battery charging is only allowed during specific hours of the day..

Mode=1, charging only between startTime and endTime, e.g. with startTime=11 and endTime=15 to reduce midday infeed peak.

Mode=2, charging is blocked between startTime and after endTime, e.g. with startTime=7 and endTime=11, to make sure battery is not already full at the midday infeed peak.

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

(Purely technical component without physical modeling.)

3. Limits of validity

(Purely technical component without physical modeling.)

4. Interfaces

Modelica.Blocks.Interfaces.RealInput P_PV

Modelica.Blocks.Interfaces.RealInput P_Consumer

Modelica.Blocks.Interfaces.RealOutput P_set_battery

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Anne Hagemeier, Fraunhofer UMSICHT in 2018

Parameters

TypeNameDefaultDescription
RealstartTime11Time of day to begin period
RealendTime22Time of day to end period
Integermode1Charging blocked during or out of specified period?

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputP_PV (from Controller_PV_Battery)
Modelica.Blocks.Interfaces.RealInputP_Consumer (from Controller_PV_Battery)
Modelica.Blocks.Interfaces.RealOutputP_set_battery (from Controller_PV_Battery)

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.Addadd2
Modelica.Blocks.Logical.Switchswitch1
TransiEnt.Basics.Blocks.SwitchAtTimeOfDayswitchAtTimeOfDay
Modelica.Blocks.Math.Minmin
Modelica.Blocks.Sources.RealExpressionzero
Modelica.Blocks.Logical.Notnot1