ScEpTIC.emulator.energy.voltage_regulator package
Submodules
ScEpTIC.emulator.energy.voltage_regulator.MAX20361 module
- class ScEpTIC.emulator.energy.voltage_regulator.MAX20361.MAX20361
 Bases:
StepUpVoltageRegulatorModelModel of the MAX20361 step up regulator from Analog Devices. Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/max20361.pdf
ScEpTIC.emulator.energy.voltage_regulator.TPS61322 module
- class ScEpTIC.emulator.energy.voltage_regulator.TPS61322.TPS61322
 Bases:
StepUpVoltageRegulatorModelModel of the TPS61322 step up regulator from Texas Instruments. Datasheet: https://www.ti.com/lit/ds/symlink/tps61322.pdf
ScEpTIC.emulator.energy.voltage_regulator.TPS62740x module
- class ScEpTIC.emulator.energy.voltage_regulator.TPS62740x.TPS62740x
 Bases:
StepDownVoltageRegulatorModelModel of the TPS62740x step down regulator from Texas Instruments. Datasheet: https://www.ti.com/lit/ds/slvsb02b/slvsb02b.pdf
ScEpTIC.emulator.energy.voltage_regulator.ideal_regulator module
- class ScEpTIC.emulator.energy.voltage_regulator.ideal_regulator.IdealStepDownRegulator
 Bases:
StepDownVoltageRegulatorModelModel of an ideal step-up voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.ideal_regulator.IdealStepUpRegulator
 Bases:
StepUpVoltageRegulatorModelModel of an ideal step-up voltage regulator
Module contents
- class ScEpTIC.emulator.energy.voltage_regulator.NoRegulator
 Bases:
VoltageRegulatorModelDummy regulator to use when no regulator is present
- get_voltage()
 - Returns:
 output voltage of the voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.StepDownVoltageRegulatorModel
 Bases:
VoltageRegulatorModelModel of a step down voltage regulator
- get_voltage()
 - Returns:
 output voltage of the voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.StepUpVoltageRegulatorModel
 Bases:
VoltageRegulatorModelModel of a step up voltage regulator
- get_voltage()
 - Returns:
 output voltage of the voltage regulator
- class ScEpTIC.emulator.energy.voltage_regulator.VoltageRegulatorModel
 Bases:
VoltageSource,VoltageDrawnerModel of a voltage regulator.
- get_drained_energy(energy_output, t)
 Calculates the energy consumption of the system, accounting for the efficiency of the voltage regulator :param energy_output: energy drained from this voltage regulator :param t: elapsed time (or, 1 / mcu clock frequency) :return: the drained energy
- get_supplied_energy(energy_input, t)
 Calculates the energy supplied by the voltage regulator :param t: elapsed time (or, 1 / mcu clock frequency) :return: the supplied energy
- set_output_voltage(v_out)
 Sets the voltage regulator output