# Changeset 217 for branches

Ignore:
Timestamp:
Mar 15, 2007, 10:11:56 PM (16 years ago)
Message:

Remove some warnings from samples.

Location:
branches/newlanguage/sample/miscellaneous
Files:
5 edited

Unmodified
Removed
• ## branches/newlanguage/sample/miscellaneous/sample_calc_object.mso

 r176 Model Calc as CalcBasic PARAMETERS outer obj as Plugin; outer obj as Plugin(Type="sample"); dummy as Real(Default=0); EQUATIONS r1 = obj.method1(T, P); r1 = obj.method1(T, dummy); r2 = obj.method2(T, P); r3 = obj.method3(z); FlowSheet CalcTest PARAMETERS obj     as Plugin(File = "calcsample"); obj     as Plugin(Type="sample"); NoComps as Integer(Default = 5); DEVICES calc1   as Calc; OPTIONS RelativeAccuracy = 1e-6; #mode = "steady"; Dynamic = false; end
• ## branches/newlanguage/sample/miscellaneous/sample_hyperbolics.mso

 r182 Pi              as constant  (Brief="Pi Number",Default=3.14159265); Theta   as angle     (Brief ="theta angle",Default=0.5); Theta   as Real     (Brief ="Argument",Default=0.5); VARIABLES Pi         = 3.14159265; Theta  = 0.6*Pi*'rad'; Theta  = 0.6*Pi; EQUATIONS
• ## branches/newlanguage/sample/miscellaneous/sample_if_tanh.mso

 r182 A = 10*xif + 5*xelse; xif = (1 + tanh(B * (time - 3)))/2; xelse = (1 - tanh(B * (time - 3)))/2; xif = (1 + tanh(B * (time/'s' - 3)))/2; xelse = (1 - tanh(B * (time/'s' - 3)))/2; SET
• ## branches/newlanguage/sample/miscellaneous/sample_mathematicals.mso

 r182 EQUATIONS exponential     = exp(time); log10                   = log(time); NatLog                  = ln(time); squareRoot      = sqrt(time); exponential     = exp(time/'s'); log10                   = log(time/'s'); NatLog                  = ln(time/'s'); squareRoot      = sqrt(time/'s'); OPTIONS
• ## branches/newlanguage/sample/miscellaneous/sample_switcher.mso

 r180 T as temperature; Pout as pressure; k as Real(Default=1e-3); k as Real(Default=1e-3,Unit='kmol/h/kPa^0.5'); VARIABLES
Note: See TracChangeset for help on using the changeset viewer.