-
Notifications
You must be signed in to change notification settings - Fork 14
ESSs design
Hou Shengren edited this page Aug 5, 2024
·
1 revision
This page provides a detailed explanation of the ESS (Energy Storage System) design in the RL-ADN framework. The ESS is represented by a battery model that simulates energy storage and management.
The Battery
class is the core component representing an energy storage system in the RL-ADN framework. Below are the key components and methods of the Battery
class:
-
Attributes:
-
capacity
: The total energy capacity of the battery in kW.h. -
max_soc
: The maximum state of charge (SOC) as a fraction of capacity. -
initial_soc
: The initial state of charge as a fraction of capacity. -
min_soc
: The minimum state of charge as a fraction of capacity. -
degradation
: The cost of battery degradation per kW. -
max_charge
: The maximum charging power of the battery in kW. -
max_discharge
: The maximum discharging power of the battery in kW. -
efficiency
: The efficiency of charging and discharging processes. -
current_soc
: The current state of charge of the battery.
-
-
Methods:
-
__init__(self, parameters)
: Initializes the battery object with given parameters. -
step(self, action_battery)
: Executes a step of battery operation based on the given action. -
_get_cost(self, energy)
: Calculates the cost associated with a given energy change. -
SOC(self)
: Returns the current state of charge (SOC) of the battery. -
reset(self)
: Resets the state of charge (SOC) of the battery to its initial value.
-
The battery is initialized with a set of parameters that define its capacity, charge/discharge limits, efficiency, and initial state of charge.
In the future, if you can contribute to more complex and realistic ESSs models. This will be nice.