Use formulas with lookups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, In the attached block, I am attempting to fill in the PVCMAINDRAIN and PVCSKIMMER attributes based on the Filter Pump Suction Lookup table. The table works fine as it sits now however a bit of math needs to be done in order to get the values for the drain and skimmer PVC attributes.
You'll see where I have the FILTERPUMPGPM attribute being fed by the Filter Pump GPM Input parameter. In order to calculate the drain GPM we need to multiply by .5, and in order to get the skimmer GPM we multiply by .75. I have added attributes with formulas to get these GPM values. Now, the problem is getting these GPM values to feed into the lookup table somehow (if it's possible).
You'll also see where I attempted to add a second linear parameter with its actions chained to the Filter Pump Input one but that didnt work out as I couldnt get it to always be 1/2 the value of the input. I know how to get the stretch action to do this but I dont think that helps in this case. Is the only solution to add 2 lookups and do all the math prior to adding the data? Thats the only way I could think of, not being entirely fluent in lookups. Thank you