π A academic example from the course Fundamentals of Safety-Critical Software in Power Systems. The project demonstrates a SCADA system for monitoring and controlling an external battery used for device charging, with charge/discharge simulation and command control via a dCom application.
- RTU slave address:
10 - Transport protocol: TCP
- Port:
25252
The configuration file has been extended with the following parameters:
Aβ scaling factor (default 1)Bβ offset (default 0)LowAlarmβ lower capacity threshold (default 20)EguMaxβ maximum battery capacity (default 100)AbnormalValueβ value for abnormal state (default = opposite of normal state)
π Normal states:
- T1, T2, T3, T4, I2 β OFF
- I1 β ON
- If T1βT3 is active β capacity decreases by
-1%/s. - If T4 is active β capacity decreases by
-3%/s. - If I1 is active β capacity increases by
+2%/s. - If I2 is active β capacity increases by
+3%/s. - LowAlarm logic:
- If
K < LowAlarmβ trigger alarm, deactivate T4 and activate I2.
- If
- EguMax logic:
- If
K = EguMaxβ deactivate the currently active charging source (I1 or I2).
- If
- The user may activate T1βT4 only if
K > LowAlarm.