Two bugs

Two bugs - Working with PSIA - Сообщения

#1 Опубликовано: 08.04.2018 12:21:13
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: User

Not sure how to post this on the bug reporting tracking list
  1. Options decimals does not carry over within an equation where we use the equal sign at the end
  2. psi is actually psig or psi(g) and should be relabeled in the drop down box
BUG.smz (3 КиБ) скачан 54 раз(а).
#2 Опубликовано: 08.04.2018 13:36:52
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Bug report: Just press the Bugs button at top of the forum page. Get a separate login there and create a new request once you have verified that it isn't already there.
BTW it is more convenient to add images there, as you can copy regions from SMath canvas and paste them directly in the editor. Much better than here in the forum.

Set the metadata as you feel appropriate, you may have a look how it is done by others.

Units: Do you really want to re-define psi? Does that mean re-definition of lbf or inch depending on geographic location? Anyways, you can insert any expression in the unit placeholder.

I fail to understand the design intent of your example. Once I had to deal with ISA standard atmosphere, but there was nothing like variable pressure units. Just Pa or psi and meters or ft, and K for the temperature, of course.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 08.04.2018 13:57:31
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: User

I thought I was clear. Compressed air is my example and I used Denver @ elevation 5200 ft. 1 atmosphere in Denver is 12.2 psig not 14.7 psig so 1 atmosphere is relative to the elevation. When you work any math out, we should be using absolute values. With temperature, it's better defined and we have deltaF or deltaC for ease of use in formulas.
All math is in terms of pisa and I need to convert psig
#4 Опубликовано: 08.04.2018 14:58:00
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Let the psi unit be psia and introduce an undefined unit psig with appropriate conversion functions.
This approach prevents you from mixing both types of pressure representations, because you would get a unit mismatch error.
It doesn't, however, prevent you from adding psig values, which might not be a good idea.

All in all this is a conversion very much like between K (absolute) and °C (gauged), just with the nasty difference that the offset isn't constant and has to be specified whenever a conversion is to be done.

psig.sm (5 КиБ) скачан 36 раз(а).
psig.png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Опубликовано: 08.04.2018 15:50:21
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I thought I was clear.
Compressed air is my example and I used Denver @ elevation 5200 ft.
1 atmosphere in Denver is 12.2 psig not 14.7 psig so 1 atmosphere is relative to the elevation.
When you work any math out, we should be using absolute values.With temperature,
it's better defined and we have deltaF or deltaC for ease of use in formulas.
All math is in terms of pisa and I need to convert psig


==========================================

The point you missed is that ISA defines Air @ "Standard Temperature vs altitude"
From recollection, this standard temperature is taken up to 11 km [-56.5 °C].
It is linear from sea level [visit Wikipedia ...]
The region around 11 km [Tropopause] is unstable.
Then, you have to correct for you local day by day °C.
Mexico city is ~ 4 km altitude ... some Incas leave up to 7 km altitude.

ISO5024.PNG

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений