Skip to main content

Table 5 Success and error outcomes of the schemas for a storage entity

From: A formal specification framework for smart grid components

Schema

Pre-condition for success

Condition for error

StoreEnergy

Storage is in not-in use \(strState=notInUse\)

Already in charging state \(strState=charging\)

ConsumeEnergy

Storage is in charging state \(strState=charging\)

Already in discharging state \(strState=discharging\)

BatteryLow

Storage is in discharging state \(strState=discharging\)

Already in charging state \(strState=charging\)

Remove

Storage is in charging or dischargig state \(strState=discharging \vee charging\)

Already in not-in-use state \(strState=notInUse\)