| | |
| | | #parent: #root |
| | | StaticMethod ThermalTrialRatio ( |
| | | Routing routing, |
| | | Unit unit, |
| | | Number capacity, |
| | | Date start, |
| | | Date end, |
| | |
| | | TextBody: |
| | | [* |
| | | // Adhi Feb-10-2016 (created) |
| | | thermaltrial := '热式'; |
| | | thermaltrial := Unit::GetThermalTrial(); |
| | | newroutings := construct( Routings ); |
| | | unit := selectobject( routing.MacroPlan(), Unit, unit, unit.ID() = thermaltrial and unit.HasCapacityTypeQuantity() ); |
| | | |
| | | for( starttime := start; starttime <= end; starttime := starttime + 1 ){ |
| | | uc := selectobject( unit, UnitCapacity, uc, uc.Start().Date() = starttime ); |