echo.models.electrical.ev.deprecated module

class echo.models.electrical.ev.deprecated.EV(*args, **kwargs)

Bases: TransformNode

V0G_SOC: ndarray | list | None
V0G_delta: ndarray | list | None
V0G_trip_infeasibility: ndarray | list | None
add_node_to_model(model: EchoConcreteModel, profile: DataFrame) → None

Add this node to a concrete model.

Parameters:
  • model – The concrete model to add the node to.

  • profile – The data associated with this node.

available: ndarray | list | str
charge_mode: EVChargeMode | None
charge_status: EVChargeStatus | None
charging_efficiency: float
charging_power_limit: float
connection_port_name: str
create_ev_transformation() → Transform
depth_of_discharge_limit: float
discharging_efficiency: float
discharging_power_limit: float
initial_state_of_charge: float
interval_duration: int
max_capacity: float
port_dict_name_to_port_name_map: dict[str, str] | None
port_dict_name_to_port_uid_map: dict[str, str] | None
process_v0g_charging(interval_duration: float) → None
soc_conserv: float | list[float] | list[list[float]] | ndarray | None
soc_conserv_cost: float | None
tod_charging: ndarray | list | str | None
trip_slack: bool
update(available: ndarray | list | str | None = None, usage: ndarray | list | str | None = None, initial_state_of_charge: float | None = None, interval_duration: int | None = None) → None
usage: ndarray | list
v0g_charging(interval_duration: float, force_conv: bool = False) → tuple[bool, list[float], float, float]

Convert V0G vehicle (convenience charging) to a soc profile and a power profile if possible.

verify_node() → None

Checks if the node has ports (super), and if the node has transformations.

Returns:

None

Raises:

ConfigurationError – If no transformations are associated with this node.