Requirements#
Defines the requirements that can be specified to a battery system.
- exception basd.requirements.UnsatisfiableRequirement[source]#
Raised when a requirement can not be sanitized or is physically not meaningful.
- class basd.requirements.Requirements(requirements_file: Path)[source]#
Holds the battery system requirements
- validate() None [source]#
Validates that the provided requirements are physically meaningfully, e.g., that the minimum voltage can no be higher than the maximum voltage.
- Raises:
[UnsatisfiableRequirement] – a requirement that is physically not satisfiable.