public void Run(Clock clock, IMarginalEmissionState state, IDimensions dimensions) { var t = clock.Current; var s = state; if ((t.Value >= s.emissionperiod.Value) && (t.Value < (s.emissionperiod.Value + s.impulselength))) { s.modemission[t] = s.emission[t] + 1; } else s.modemission[t] = s.emission[t]; }
public void Run(Clock clock, IMarginalEmissionState state, IDimensions dimensions) { var t = clock.Current; var s = state; if ((t.Value >= s.emissionperiod.Value) && (t.Value < (s.emissionperiod.Value + s.impulselength))) { s.modemission[t] = s.emission[t] + 1; } else { s.modemission[t] = s.emission[t]; } }
public void Run(Clock clock, IMarginalEmissionState state, IDimensions dimensions) { var t = clock.Current; var s = state; if (clock.IsFirstTimestep) { } else { if ((t.Value >= s.emissionperiod.Value) && (t.Value < (s.emissionperiod.Value + 10))) { s.modemission[t] = s.emission[t] + 1; } else s.modemission[t] = s.emission[t]; } }
public void Run(Clock clock, IMarginalEmissionState state, IDimensions dimensions) { var t = clock.Current; var s = state; if (clock.IsFirstTimestep) { } else { if ((t.Value >= s.emissionperiod.Value) && (t.Value < (s.emissionperiod.Value + 10))) { s.modemission[t] = s.emission[t] + 1; } else { s.modemission[t] = s.emission[t]; } } }