PLUS42 - Usage of UNITS functions in solver
|
09-21-2022, 01:38 PM
Post: #1
|
|||
|
|||
PLUS42 - Usage of UNITS functions in solver
I am using Plus42 v.1.0.10 Decimal under Windows 10.
I am trying to use the Equation Solver to implement the following equation: Code: TEST:TimeH=L(K1:EXP(UBASE(U*A*(INV(W*C)-INV(w*c)))))*0+L(K2:(M*(G(K1)*w*c-W*C)/(W*w*c*(G(K1)-1))))*0+G(K2)*LN((UBASE(t1)-UBASE(T1))/(UBASE(t1)-UBASE(T2))) All variables shall be with units. The use of UBASE in K1 definition is necessary to reduce all UOM to their base definition, and the semplification of UOMs will reduce to a pure number. The use of UBASE in LN argument has the same purpose of the above, plus the purpose of converting the temperatures to Kelvin degrees. When solving, i get a "NONEXISTENT" error, just like UBASE is interpreted as a variable (see attached screenshot) Such arrangement works properly on 48g/50g (of course keeping K1 and K2 definition outside the main equation and using MES) Code: { 'K2=M*((K1*w*c-W*C)/(W*w*c*(K1-1.)))' 'K1=EXP(UBASE(U*A*(1./(W*C)-1./(w*c))))' 'Theat=K2*LN((UBASE(t1)-UBASE(T1))/(UBASE(t1)-UBASE(T2)))' } What am i doing wrong? Thanks in advance |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
PLUS42 - Usage of UNITS functions in solver - Marco Polo - 09-21-2022 01:38 PM
RE: PLUS42 - Usage of UNITS functions in solver - Thomas Okken - 09-21-2022, 04:54 PM
RE: PLUS42 - Usage of UNITS functions in solver - Thomas Okken - 09-21-2022, 06:23 PM
RE: PLUS42 - Usage of UNITS functions in solver - Marco Polo - 09-21-2022, 07:16 PM
RE: PLUS42 - Usage of UNITS functions in solver - Thomas Okken - 09-21-2022, 09:46 PM
RE: PLUS42 - Usage of UNITS functions in solver - Marco Polo - 10-03-2022, 01:17 PM
|
User(s) browsing this thread: 1 Guest(s)