AGA8 icon indicating copy to clipboard operation
AGA8 copied to clipboard

Measure of Unit Pressure and Temperature VB

Open fabiopuddu77 opened this issue 1 year ago • 4 comments

Hello,

In the Visual Basic code, in the AGA8.xls which measure of unit should I use for pressure and temperature?

Because I used F and psia, but in the Table.xls you used K and MPa.

fabiopuddu77 avatar Nov 06 '23 09:11 fabiopuddu77

It depends based on the method. Make sure you look at the documentation for each function in each method.

ianhbell avatar Nov 06 '23 12:11 ianhbell

But it is definitely not IP units

ianhbell avatar Nov 06 '23 12:11 ianhbell

In some methods the arguments to the functions are T,MPa, and in others, T,kPa. I think I identified a small typo in one or two examples as well.

ianhbell avatar Nov 06 '23 13:11 ianhbell

There is a tab in the Excel spreadsheet that gives the ability to change the units. I made a quick example with the composition from your other github entry and attached it here.

AGA8_ExampleWithFandPSI.xls

EricLemmon avatar Nov 12 '23 02:11 EricLemmon