Parameter Set#
parameter_set provides the ParameterSet class which saves the parameter sets used in the optimization for 3d battery system layout
- class basd.designer.parameter_set.ParameterSet(*, cell: ~basd.database.battery_cell.BatteryCell, cell_block: ~basd.designer.basic_sets.CellBlock = <factory>, module: ~basd.designer.basic_sets.Module = <factory>, string: ~basd.designer.basic_sets.String = <factory>, pack: ~basd.designer.basic_sets.Pack = <factory>, cell_rotation: int = 0, overhead: ~basd.designer.overhead_functions.OverheadFunctions, requirements: ~basd.requirements.Requirements)[source]#
Defines the parameter set for the battery system layout
- Parameters:
overhead – specifies the overhead functions which should be used
- get_maximum_module_voltage() float [source]#
returns the minimum module voltage
- Returns:
minimum module voltage
- get_height(bjb: bool = False) tuple[float, Overhead] [source]#
returns the height of a battery system related to the parameter set
- Raises:
ValueError – stops if overhead is not set
- Returns:
return pack height and overhead dictionary
- get_length(bjb: bool = False) tuple[float, Overhead] [source]#
returns the length of a battery system related to the parameter set
- Raises:
ValueError – stops if overhead is not set
- Returns:
return pack length and overhead dictionary
- get_width(bjb: bool = False) tuple[float, Overhead] [source]#
returns the width of a battery system related to the parameter set
- Raises:
ValueError – stops if overhead is not set
- Returns:
return pack width and overhead dictionary
- get_weight() tuple[float, Overhead] [source]#
returns the weight of a battery system related to the parameter set
- Raises:
ValueError – stops if overhead is not set
- Returns:
return pack width and overhead dictionary
- get_slave_utilization(pins_per_slave: int) tuple[int, int] [source]#
get_slave_utilization determines the min. and max. utilization of the slaves
- Parameters:
pins_per_slave – max. number of pins available on the slave
- Returns:
min. and max. utilization of the slave
- __eq__(other)#
Return self==value.
- __hash__ = None#
- __init__(*, cell: ~basd.database.battery_cell.BatteryCell, cell_block: ~basd.designer.basic_sets.CellBlock = <factory>, module: ~basd.designer.basic_sets.Module = <factory>, string: ~basd.designer.basic_sets.String = <factory>, pack: ~basd.designer.basic_sets.Pack = <factory>, cell_rotation: int = 0, overhead: ~basd.designer.overhead_functions.OverheadFunctions, requirements: ~basd.requirements.Requirements) None #
- __repr__()#
Return repr(self).