close
Warning:
Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.
| File estimMms.tol, 872 bytes (added by vdebuen, 10 years ago) |
|
|
| Line | |
|---|
| 1 | #Require MMS; |
|---|
| 2 | #Require ModelExcel; |
|---|
| 3 | |
|---|
| 4 | Set Var = { Include("var.oza") }; |
|---|
| 5 | Text Model_Session = "ModelDef.01.xls"; |
|---|
| 6 | Text PathMMS = "Estimations/"+Model_Session+".oza"; |
|---|
| 7 | |
|---|
| 8 | Real _t0.buildingModel = Copy(Time); |
|---|
| 9 | MMS::@Estimation Estimation = ModelExcel::BuildEstimation(Model_Session); |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | MMS::@Model Modelo = Estimation::GetModel(?); |
|---|
| 13 | |
|---|
| 14 | Set SubModels = Modelo::GetSubmodels(?); |
|---|
| 15 | |
|---|
| 16 | Real _time.buildingModel = Copy(Time) - _t0.buildingModel; |
|---|
| 17 | WriteLn("Time for building model "<<_time.buildingModel); |
|---|
| 18 | |
|---|
| 19 | Real _t0.estimatingModel = Copy(Time); |
|---|
| 20 | |
|---|
| 21 | Real Estimation::Execute(?); |
|---|
| 22 | Real Estimation::SetVersion(""<<Now); |
|---|
| 23 | |
|---|
| 24 | Real _time.estimatingModel = Copy(Time) - _t0.buildingModel; |
|---|
| 25 | WriteLn("Time for estimating model "<<_time.estimatingModel); |
|---|
| 26 | |
|---|
| 27 | Real _t0.savingModel = Copy(Time); |
|---|
| 28 | |
|---|
| 29 | Real MkDir(PathCurrent+"/Estimations/"); |
|---|
| 30 | Real Estimation::Save_AtFile(PathMMS, "Heavy"); |
|---|
| 31 | |
|---|
Download in other formats: