bmgen.targets.jsonld package#
Subpackages#
Submodules#
bmgen.targets.jsonld.ast module#
- class bmgen.targets.jsonld.ast.BCLInstruction(sequence: List[bmgen.targets.jsonld.ast.BCLStep], repetitions: int)#
Bases:
object- repetitions: int#
- toDict()#
- class bmgen.targets.jsonld.ast.BCLParameter(unit: bmgen.targets.jsonld.ast.BCLUnit, name: str, value: float)#
Bases:
BCLValue- name: str#
- toDict()#
- value: float#
- class bmgen.targets.jsonld.ast.BCLProgram(name: str, parameters: Dict[str, float], instructions: List[bmgen.targets.jsonld.ast.BCLInstruction])#
Bases:
object- instructions: List[BCLInstruction]#
- name: str#
- parameters: Dict[str, float]#
- toDict()#
- class bmgen.targets.jsonld.ast.BCLStep(type: bmgen.targets.jsonld.ast.BCLStepType, value: bmgen.targets.jsonld.ast.BCLValue, terminations: List[bmgen.targets.jsonld.ast.BCLTermination] | None)#
Bases:
object- terminations: List[BCLTermination] | None#
- toDict()#
- type: BCLStepType#
- class bmgen.targets.jsonld.ast.BCLTermination(type: bmgen.targets.jsonld.ast.compare.<locals>.c2, value: bmgen.targets.jsonld.ast.BCLValue)#
Bases:
object- toDict()#
- type: c2#
- class bmgen.targets.jsonld.ast.BCLTerminationType(name: str)#
Bases:
BCLTerminationType
- class bmgen.targets.jsonld.ast.BCLValue(unit: bmgen.targets.jsonld.ast.BCLUnit)#
Bases:
ABC
- class bmgen.targets.jsonld.ast.BCLValueLiteral(unit: bmgen.targets.jsonld.ast.BCLUnit, value: float)#
Bases:
BCLValue- toDict()#
- value: float#
- class bmgen.targets.jsonld.ast.Channel(quantity: Type[ElectrochemicalQuantity], unit: MeasurementUnit)#
Bases:
Channel
- class bmgen.targets.jsonld.ast.Limit(type: Type[bmgen.targets.jsonld.ontology.ElectrochemicalQuantity], value: bmgen.targets.jsonld.ast.NumericValue)#
Bases:
object- toOntology()#
- type: Type[ElectrochemicalQuantity]#
- value: NumericValue#
- class bmgen.targets.jsonld.ast.NumericLiteral(value: float, unit: bmgen.targets.jsonld.ontology.MeasurementUnit)#
Bases:
NumericValue- toOntology()#
- unit: MeasurementUnit#
- value: float#
- class bmgen.targets.jsonld.ast.NumericValue#
Bases:
object
- class bmgen.targets.jsonld.ast.Program(steps: List[bmgen.targets.jsonld.ast.Step])#
Bases:
object- toOntology()#
- class bmgen.targets.jsonld.ast.Setpoint(type: Type[bmgen.targets.jsonld.ontology.ElectrochemicalQuantity], value: bmgen.targets.jsonld.ast.NumericValue)#
Bases:
object- toOntology()#
- type: Type[ElectrochemicalQuantity]#
- value: NumericValue#
- class bmgen.targets.jsonld.ast.Step(instance: bmgen.targets.jsonld.ontology.Procedure, setpoints: List[bmgen.targets.jsonld.ast.Setpoint], limits: List[bmgen.targets.jsonld.ast.Limit])#
Bases:
object- toOntology()#
- class bmgen.targets.jsonld.ast.UnsupportedChannel(message: str)#
Bases:
UnsupportedChannel
- bmgen.targets.jsonld.ast.create_property(type: Type[ElectrochemicalQuantity], value: NumericValue | Reference)#
bmgen.targets.jsonld.battery module#
bmgen.targets.jsonld.channel module#
bmgen.targets.jsonld.constants module#
bmgen.targets.jsonld.function module#
- bmgen.targets.jsonld.function.charge(current: float, voltage: float | None = None, limits: List[Limit] | None = None, registrations: Any = None)#
- bmgen.targets.jsonld.function.discharge(current: float, voltage: float | None = None, limits: List[Limit] | None = None, registrations: Any = None)#
- bmgen.targets.jsonld.function.error(errnum: int)#
- bmgen.targets.jsonld.function.limit(condition: BCLTermination, action: Any | None = None)#
- bmgen.targets.jsonld.function.limit_global(condition: BCLTermination, action: Any | None = None)#
- bmgen.targets.jsonld.function.pause(limits: List[Limit] | None = None, hours: float | None = None, minutes: float | None = None, seconds: float | None = None, registrations: Any = None)#
- bmgen.targets.jsonld.function.register(time: time | None = None, voltage: BCLValue | None = None, current: BCLValue | None = None, format: List | None = None)#
bmgen.targets.jsonld.ontology module#
- class bmgen.targets.jsonld.ontology.Ampere#
Bases:
object
- class bmgen.targets.jsonld.ontology.AmperePerAmpereHour#
Bases:
object
- class bmgen.targets.jsonld.ontology.Battery(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.BatteryTest(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.CRateUnit(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.CellCurrent(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.CellVoltage(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.ChargingCRate(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.ChargingCurrent(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.ChargingVoltage(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.ConstantCurrentCharging(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.ConstantCurrentConstantVoltageCharging(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.ConstantCurrentConstantVoltageDischarging(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.ConstantCurrentDischarging(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.DischargingCRate(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.DischargingCurrent(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.DischargingVoltage(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.ElectricCharge(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.ElectricCurrent(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.ElectricResistance(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.ElectrochemicalQuantity(value, unit)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.EnergyDensity(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.InternalResistance(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.IterativeWorkflow(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.LowerVoltageLimit(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.MaximumContinuousChargingCurrent(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.MaximumContinuousDischargingCurrent(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.MeasurementUnit(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.NominalCapacity(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.OntologyClass(**kwargs)#
Bases:
object- attributes: dict#
- to_jsonld()#
- class bmgen.targets.jsonld.ontology.Procedure(**kwargs)#
Bases:
OntologyClass
- class bmgen.targets.jsonld.ontology.Second#
Bases:
object
- class bmgen.targets.jsonld.ontology.StepDuration(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.StepTime(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.TerminationQuantity(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.UpperVoltageLimit(value, unit)#
Bases:
ElectrochemicalQuantity
- class bmgen.targets.jsonld.ontology.Volt#
Bases:
object
- class bmgen.targets.jsonld.ontology.Voltage(value, unit)#
Bases:
ElectrochemicalQuantity
bmgen.targets.jsonld.program module#
- bmgen.targets.jsonld.program.variable(name: str, value: float | None = None)#
bmgen.targets.jsonld.stepinfo module#
bmgen.targets.jsonld.transformer module#
- class bmgen.targets.jsonld.transformer.Transformer(*args, **kwargs)#
Bases:
Transformer- visit_For(node)#
Module contents#
- bmgen.targets.jsonld.generator: JSONLDGenerator#