Example #1
0
        public BasicHeaterSimScanEnginePlugin(string name, BasicHeaterSimScanEnginePluginConfig config)
            : base(name)
        {
            Config = new BasicHeaterSimScanEnginePluginConfig(config);

            IsOnline           = true;
            IsContactorEnabled = true;

            OutputValues = new BasicHeaterSimScanEnginePluginOutputs();
            OutputValues.slewLimitedSetpoint  = Config.AmbientTemp;
            OutputValues.currentPower         = 0.0;
            OutputValues.IntrinsicTemperature = Config.InitialTemp;
            OutputValues.Readback             = OutputValues.IntrinsicTemperature;
        }
Example #2
0
        public BasicHeaterSimScanEnginePluginConfig(BasicHeaterSimScanEnginePluginConfig other)
        {
            other = other ?? emptyConfig;

            InitialTemp                       = other.InitialTemp;
            AmbientTemp                       = other.AmbientTemp;
            MaxHeatRampRatePerSec             = other.MaxHeatRampRatePerSec;
            MaxCoolRampRatePerSec             = other.MaxCoolRampRatePerSec;
            ErrorClip                         = other.ErrorClip;
            ThermalMassDegPerSecPerWatt       = other.ThermalMassDegPerSecPerWatt;
            ThermalLoadWattsPerDeg            = other.ThermalLoadWattsPerDeg;
            FullScalePowerWatts               = other.FullScalePowerWatts;
            PhysicalPowerRampLimitWattsPerSec = other.PhysicalPowerRampLimitWattsPerSec;
            EnableNoise                       = other.EnableNoise;
        }