PowerMeterSimulatedExtra

data class PowerMeterSimulatedExtra(val id: Int, val maxVoltage: Int = 24000, val maxCurrent: Int = 500, val maxVoltageNoise: Int = 500, val maxCurrentNoise: Int = 500, val passive: Boolean = false, val describe: List<String> = listOf( "Simulated id: $id", "maxVoltage: $maxVoltage mV", "maxCurrent: $maxCurrent mA", "maxVoltageNoise: $maxVoltageNoise mV", "maxCurrentNoise: $maxCurrentNoise mA", )) : PowerMeterData

Extra data fields for simulated power meters.

Constructors

Link copied to clipboard
constructor(id: Int, maxVoltage: Int = 24000, maxCurrent: Int = 500, maxVoltageNoise: Int = 500, maxCurrentNoise: Int = 500, passive: Boolean = false, describe: List<String> = listOf( "Simulated id: $id", "maxVoltage: $maxVoltage mV", "maxCurrent: $maxCurrent mA", "maxVoltageNoise: $maxVoltageNoise mV", "maxCurrentNoise: $maxCurrentNoise mA", ))

Properties

Link copied to clipboard
open override val describe: List<String>
Link copied to clipboard
val id: Int

Id of the meter

Link copied to clipboard
val maxCurrent: Int = 500

Max current value for random value generation

Link copied to clipboard
val maxCurrentNoise: Int = 500

Max current noise value for random value generation

Link copied to clipboard
val maxVoltage: Int = 24000

Max voltage value for random value generation

Link copied to clipboard
val maxVoltageNoise: Int = 500

Max voltage noise value for random value generation

Link copied to clipboard
val passive: Boolean = false

Do not start a thread / event generation (used for testing)