# Cylindrical Tank Capacity

**URL:** <https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 7, 2022, 1:44pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902 "2022-03-07T13:44:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicole\_Weiss](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Nicole\_Weiss](https://forum.inductiveautomation.com/u/Nicole_Weiss)\
**Post date:** [March 7, 2022, 1:44pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/1 "2022-03-07T13:44:46Z")

</div>

![Screenshot (42)_LI](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/4/f48bc8041664e1710a7db8a5cd5a4fe4c95df27b.jpeg)

Is there any way to have the capacity of the tank grow as the percentages of gas and the totalizer go up? Right now, the tank capacity is just set to 500,000, but as time goes on the gas percentage and totalizer are going to surpass that amount.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 7, 2022, 2:08pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/2 "2022-03-07T14:08:38Z")

</div>

You could bind it to something so that it’s evaluated dynamically, but… It’s a capacity, it’s not supposed to grow. What are you trying to do exactly ?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 7, 2022, 2:12pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/3 "2022-03-07T14:12:14Z")

</div>

The capacity of a tank is fixed. If it isn’t then you are describing a balloon.

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [March 7, 2022, 2:21pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/4 "2022-03-07T14:21:08Z")

</div>

And mechanical “balloons” have existed since 1789. See [Gas Holder](https://en.wikipedia.org/wiki/Gas_holder) also known as a Gasometer.

But I am not sure what the OPs use case is here.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 7, 2022, 2:23pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/5 "2022-03-07T14:23:12Z")

</div>

Thanks, Peter. I had considered the gasometer while replying but reckoned that the graphic “capacity” would show the upper limit and the “value” the actual position.

---

<div class="post-metadata">

**Author:** ![Nicole\_Weiss](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Nicole\_Weiss](https://forum.inductiveautomation.com/u/Nicole_Weiss)\
**Post date:** [March 7, 2022, 2:31pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/6 "2022-03-07T14:31:10Z")

</div>

The tank is representing a gas totalizer and gas percentage amount between specific dates. The point of the tank is to show the percentage of the two gas. For example, if I wanted to see the amount of gas percentage was used between 2020-2021, but another time, I might want to see the amount that was used on the weekend. The capacities would be different in those to instances.  
Not sure if that explains the purpose well enough.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 7, 2022, 2:32pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/7 "2022-03-07T14:32:16Z")

</div>

Set your capacity to 100 and convert your content to percent to feed the display.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 7, 2022, 2:33pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/8 "2022-03-07T14:33:23Z")

</div>

If the goal is to show percentages, then I think the value should be made into a percentage, not an absolute value. Then set the capacity to 100. There’s no need for the container to grow here.

---

<div class="post-metadata">

**Author:** ![Nicole\_Weiss](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Nicole\_Weiss](https://forum.inductiveautomation.com/u/Nicole_Weiss)\
**Post date:** [March 7, 2022, 2:39pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/9 "2022-03-07T14:39:47Z")

</div>

The goal is to just represent the percentages… I guess it would be showing the totalizer of the two gasses. I have a screenshot to show how it is represented.

 ![Screenshot (43)](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/6/0697658a9f2a1642a16213e34df5aa9a9327a081.png)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 7, 2022, 2:43pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/10 "2022-03-07T14:43:53Z")

</div>

Well I’ve never used tanks before, but… how the hell do you get two different things in the same tank ?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 7, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/11 "2022-03-07T14:49:52Z")

</div>

If you’re trying to show two different volumes in one space, look at this Exchange resource: [Ignition Exchange | Inductive Automation](https://inductiveautomation.com/exchange/119/overview)

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [March 7, 2022, 2:49pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/12 "2022-03-07T14:49:58Z")

</div>

@Nicole_Weiss Are you saying for your illustrated tank, that you want the “tank” to show 17% of CO2 and 83% of Ar? If so, can’t you just set the “tank” volume to 100 and pre-scale the inputs by dividing by the Mass totalizer amount (and of course multiplying by 100 to get percent)

---

<div class="post-metadata">

**Author:** ![Nicole\_Weiss](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Nicole\_Weiss](https://forum.inductiveautomation.com/u/Nicole_Weiss)\
**Post date:** [March 7, 2022, 2:50pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/13 "2022-03-07T14:50:20Z")

</div>

I used two separate tanks then just overlapped them. One tank is showing the CO2 % value and then another is showing the Argon %.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 7, 2022, 2:54pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/14 "2022-03-07T14:54:07Z")

</div>

Your labels on the left have “%”, but the units on the right are cubic feet. CF != %. Convert CF to % for display.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 7, 2022, 2:57pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/15 "2022-03-07T14:57:49Z")

</div>

I guess you could use just one tank and consider the liquid as one gas and the empty part as the other gas ?  
In which case you can do something like that:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/0/10c655c8504f9dfa3d3355e313f46085b3ec14ac.png)

Or just make your own component with 2 labels with different colors, and adjust their size depending on gas volumes 😃

---

<div class="post-metadata">

**Author:** ![Nicole\_Weiss](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Nicole\_Weiss](https://forum.inductiveautomation.com/u/Nicole_Weiss)\
**Post date:** [March 7, 2022, 4:33pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/16 "2022-03-07T16:33:11Z")

</div>

I just want the tank capacity to get bigger while the mass totalizer goes up as time goes. The co2 and argon % labels is showing that calculation.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 7, 2022, 4:35pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/17 "2022-03-07T16:35:45Z")

</div>

What is stopping you from adding a binding to the capacity to change it based on your need?

---

<div class="post-metadata">

**Author:** ![Nicole\_Weiss](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Nicole\_Weiss](https://forum.inductiveautomation.com/u/Nicole_Weiss)\
**Post date:** [March 7, 2022, 4:41pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/18 "2022-03-07T16:41:50Z")

</div>

I tried this out but I keep getting an error saying my co2 value doesn’t exist. I’m still new to Ignition so I know I definitely didnt do something right.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 7, 2022, 4:43pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/19 "2022-03-07T16:43:14Z")

</div>

Double check the spelling of everything and the paths of your properties.

---

<div class="post-metadata">

**Author:** ![Nicole\_Weiss](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@Nicole\_Weiss](https://forum.inductiveautomation.com/u/Nicole_Weiss)\
**Post date:** [March 7, 2022, 4:46pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902/20 "2022-03-07T16:46:05Z")

</div>

I did try that, but I’m not sure if I need a script or expression to make it bigger or smaller depending on the dates selected.

[Next page](https://forum.inductiveautomation.com/t/cylindrical-tank-capacity/56902.md?page=2)
