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.
Line | |
---|
1 | // incluir el objeto forecast |
---|
2 | NameBlock forecast = MMS::Container::GetForecast(1) ; |
---|
3 | |
---|
4 | // Calculo manual del efecto de CliNuA en el submodelo 10 |
---|
5 | Real tetha1 = ((forecast::GetModel.Forecast(?)::GetParameters(?))[312])::GetValue.Forecast.Mean(?); |
---|
6 | Real tetha2 = ((forecast::GetModel.Forecast(?)::GetParameters(?))[313])::GetValue.Forecast.Mean(?); |
---|
7 | Serie inputNuA = (forecast::GetModel(?)::GetMVariable(396))::GetData(?); |
---|
8 | Serie b_uno = tetha1*B:inputNuA; |
---|
9 | Serie b_dos = tetha2*(B^2):inputNuA; |
---|
10 | Serie efectoCalculado = b_uno + b_dos; |
---|
11 | |
---|
12 | // efecto de CliNuA (las dos primeras son correctas, pero la tercer no) |
---|
13 | Serie efectoCliNuA_OK_01 = (forecast::GetModel.Forecast(?)::GetSubmodel(4)::GetExpTerm(45)::GetData.Extended.(?))[1]; |
---|
14 | Serie efectoCliNuA_OK_02 = (forecast::GetModel.Forecast(?)::GetSubmodel(4)::GetEffects.Extended(?))[45]; |
---|
15 | Serie efectoCliNuA_MAL = (forecast::GetModel.Forecast(?)::GetSubmodel(4)::GetEffects.WithForecast.Mean(?))[45]; |
---|
16 | |
---|
17 | // efectoCliNuA_MAL, a partir del dato real es igual al input multiplicado por theta1 (que es el real multiplica a B^1) |
---|
18 | // graficar la siguiente serie junto a efecto CliNuA_MAL para comprobar |
---|
19 | Serie forecast_efectoCliNuA_MAL = tetha1*inputNuA; |
---|
Download in other formats: