Hi EV2Gym developers,
I’ve confirmed from the environment code that the actions in EV2Gym directly control current (through scaling with max_charge_current or max_discharge_current), which is then converted to power for the load or generator elements.
I’d like to clarify one point regarding grid sensitivity analysis for voltage and transformer loading constraints:
Given that the control variable is current, would it be more accurate within EV2Gym to:
- Compute sensitivities directly as ∂V/∂I and ∂(Loading%)/∂I by perturbing current magnitudes; or
- Continue using ∂V/∂P and ∂(Loading%)/∂P, and convert them via
∂I∂P=V* (phases)^1/2* PF
In other words — does the internal model handle current-to-power conversion linearly enough that both approaches are effectively equivalent, or would direct current perturbation yield more stable and realistic responses in the EV2Gym grid simulation?