Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://en.wikipedia.org/wiki/Mole_(unit)
Here is how you calculate it:
1 mol of water (H20) = 18 g
Mass of 1 L of water = 1000 g
How many times can you fit 18 g packets (moles) into 1000 g?
1000g/18g = 55.55
Here it is - 1 L of water has 55.55 moles of water.
The statistic I want is quantity. As far as I know storage tanks have no upper pressure limit so the only useful data as of now would be temp and quatity of material stored. But as Maledicto stated, its not possible at present.
Thanks for the help though.
Thanks, that makes my brain hurt a little bit :)
But why is 1 mole of water 18g? Back to school for me I guess.
I took the idea gas formula of " pressure = Moles*gas constant+temp in K / Volume".
Rewrite the equation to "PV = moles * Gas constant* Temp in K.
Rewrite the equation to "PV/ Gas constant * Temp in K = moles.
I used two readers to read the KPA and Temp of the gas in the tank.
1 ) I use a math to multply the KPA by a memory of 6000 (Tank Volume Capacity)
2.) I use a math to mutiply the Temp by the gas constant( 8.314)
I use a math to Divide the 1.) by 2.) wich gives the amount of moles, (verify this by check a analyzer or tablet.
I use a math to divide the moles math by a memory chip set to 12 ( capacity of tanks is 6000 Liters and 72000 moles ( 1 liter = 12 moles))
I use a unary to round num set to floor.
I use a writer to write to a LED display.
I am finishing up a guide shortly and expect to pubish soonn. I hope it clarfies your question " how can I actual quantity of gas in a tank"?
Now i see 15KMOL in my tank K = 1000 in real
then 15000 x 22,4l = 336 000l in small tank WTF ??
Gas is compressible, so your 15kmols can be easily stored inside the small tank(6000L) because it can handle upto 60Mpa(60000kpa) of pressure (technically limited by the pipes).
1 atm pressure = ~101kpa.
Your "15kmols = 336000L of gas" inside a 6000L small tank should cause the internal pressure to be ~5656kpa or ~5.656Mpa if the gas is at 0C.
336000 / 6000 = 56 atm pressure x 101kpa = 5656kpa or 5.656Mpa
I think my math is correct but feel free to correct me if I'm wrong.
If you really want to dig into the subject I would suggest looking up Avogadro's law.
https://en.wikipedia.org/wiki/Avogadro%27s_law
PV=nRT
P= pressure
V= volume
n= mol
R= universal gas constant
T = temperature (K)
These links are also pretty helpful to explain the basics of the subject.
https://flexbooks.ck12.org/cbook/ck-12-chemistry-flexbook-2.0/section/10.6/primary/lesson/avogadros-hypothesis-and-molar-volume-chem/
https://www.inspiritvr.com/general-chemistry/states-of-matter/gas-pressure-study-guide
This is part of the reason it takes so long to pump out a tank/pipe network because as the pressure drops, the gas remaining expands which means the pump is moving smaller and smaller amounts of mols.
Should be possible with IC script reading the quantity and writing it to LED display.
Also change rates per tick should be possible.
Something like this (not tested)
note: this script does not check if the displays are actually connected. In case one is missing it would have an error. The program can be improved to make the displays optional and write to them only when they are actually connected.