if

Hello


TABLE WDATA(t,*) data per period
W

  •            wind speed.
    
  •            (m/sec)
    

1 10.9
2 10.8
3 10.4
4 10.3
5 9.9
6 8.9
7 8
8 7.2
9 7
10 7.4
11 8.1
12 8
13 8.5
14 7.9
15 7.8
16 8
17 7.7
18 7.7
19 7.8
20 8.4
21 8.6
22 8.5
23 8.2
24 8
25 8.2
;

*--------------------------------------------------------------------------
*** wind.
scalar Cp ‘Coefficient of wind turbine’ /0.4/;
scalar Ro_air ‘air density in term of (Kg/m^3)’ /1.225/;
scalar Area ‘area which is swept by turbine blades (m^2)’ /8495/;
scalar NW ‘number of the same wind units’ /20/;

parameter Pw(t) ‘real power output of wind turbines (MW)’;

now I want to set my condition as below :
if 0 25 then Pw(t) = 0;




Can anybody help me to write these condition.





second question : Where is the place of ‘‘IF’’ in the program? in PARAMETER section? After VARIABLES or in EQUATION part or…


\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

read pag. 155 user’s guide

Em sábado, 21 de fevereiro de 2015 15:26:08 UTC-2, ja Mor escreveu:

Hello


TABLE WDATA(t,*) data per period
W

  •            wind speed.
    
  •            (m/sec)
    

1 10.9
2 10.8
3 10.4
4 10.3
5 9.9
6 8.9
7 8
8 7.2
9 7
10 7.4
11 8.1
12 8
13 8.5
14 7.9
15 7.8
16 8
17 7.7
18 7.7
19 7.8
20 8.4
21 8.6
22 8.5
23 8.2
24 8
25 8.2
;

*--------------------------------------------------------------------------
*** wind.
scalar Cp ‘Coefficient of wind turbine’ /0.4/;
scalar Ro_air ‘air density in term of (Kg/m^3)’ /1.225/;
scalar Area ‘area which is swept by turbine blades (m^2)’ /8495/;
scalar NW ‘number of the same wind units’ /20/;

parameter Pw(t) ‘real power output of wind turbines (MW)’;

now I want to set my condition as below :
if 0 25 then Pw(t) = 0;




Can anybody help me to write these condition.





second question : Where is the place of ‘‘IF’’ in the program? in PARAMETER section? After VARIABLES or in EQUATION part or…


\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.