Content
# #tough-smr — 2025-06-12
**17:59 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749776391115559):** @Kevin i dont see the chemical yet on scada, where should it go? what part of the process does it inject into?
**17:59 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749776396756899):** is it one pump? are they variable speed?
**18:00 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749776411880749):** which flow rate is it looking at to dose?
**18:01 [Kevin](https://slack.com/archives/C08NFJSU753/p1749776502660609):** Call me
**18:12 [Kevin](https://slack.com/archives/C08NFJSU753/p1749777125079489):** @andy how do you want to flow pacing setup for chemical injection? What will be the setpoint?
**18:18 [andy](https://slack.com/archives/C08NFJSU753/p1749777491360889):** This is from the control strategy doc:
Santa Margarita Ranch (SMR)
Control Strategy
Add Well 5 and 6 flow together to create total flow, and have the chemical injection pumps 1 and 2 to have a linear scaled output with individual minimum and maximum chem injection rates (ex. 0-100%) correlating to a min and max total water flow rate (ex. 50-400 GPM)
**18:20 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749777634363859):** easy enough. thank you
**18:38 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749778694492199):**
![[F090U1LGYFR_image.png]]
**18:38 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749778710388109):** @andy is there anywhere i can look up what these motors are placeholders for?
**18:38 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749778722537039):** im guessing that two of these will be for these chemical pumps?
**18:47 [Kevin](https://slack.com/archives/C08NFJSU753/p1749779252510239):** Thanks @andy. I tho8ght it was in the narrative but I was driving home and wanted to keep Mason moving. Sorry to bug ya.
**19:05 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749780318306359):** @Kevin so these will have a 4-20ma driver for speed? do they have feedback?
**19:05 [Kevin](https://slack.com/archives/C08NFJSU753/p1749780338026759):** Yes and no
**19:05 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749780342691879):** copy
**19:14 [andy](https://slack.com/archives/C08NFJSU753/p1749780861615759):** If you look at the instances in studio. The comments show what they go to
**19:14 [andy](https://slack.com/archives/C08NFJSU753/p1749780883792529):** In that same doc I show a screenshot of how to find those comments
**19:14 [andy](https://slack.com/archives/C08NFJSU753/p1749780898249779):** [https://docs.google.com/document/d/1MXYwKV8f2uzhH6KQCulw-kEItgv1kc7x0DKvKwFaXpc/edit?usp=drivesdk](https://docs.google.com/document/d/1MXYwKV8f2uzhH6KQCulw-kEItgv1kc7x0DKvKwFaXpc/edit?usp=drivesdk)
[[F08RGAY8U7Q_smr_controls]]
**19:17 [andy](https://slack.com/archives/C08NFJSU753/p1749781065811129):** And no, they aren’t motors. They are controlled off the 4-20mA only so I’m curious what you think we should use to handle this? @Mason Radke
**19:18 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781116758919):** well, i was gonna try to feed it into a p_vsd
**19:19 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781154300689):** these are the pumps that start when the 4-20ma is greater that 4ma?
**19:19 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781158547119):** and stop when <=4ma?
**19:19 [andy](https://slack.com/archives/C08NFJSU753/p1749781159994369):** Yes
**19:19 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781165651899):** yeah. its gonna be interesting.
**19:19 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781175481589):** but i think we can make P_vsd work
**19:19 [andy](https://slack.com/archives/C08NFJSU753/p1749781197435459):** I would think a p-aout
**19:20 [andy](https://slack.com/archives/C08NFJSU753/p1749781225646969):** Or not even an object. Just sending the percentage to the scaled output.
**19:20 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781232886079):** i like both of those options
**19:20 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781239375489):** much simpler than shoe-horning into a vsd
**19:20 [andy](https://slack.com/archives/C08NFJSU753/p1749781256971699):** But I get VSD now that you mention it
**19:21 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781304208969):** could do a compare block if output is >0 then feed a boolean into run cmd and run status.. it would be a bit hacky but it could work
**19:24 [andy](https://slack.com/archives/C08NFJSU753/p1749781447005749):** I’m pretty sure I’ve done this using p_Aout and it made sense at the time.
**19:24 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781465423459):** i can go that direction. what do you want it to look like on screen?
**19:25 [andy](https://slack.com/archives/C08NFJSU753/p1749781536687269):**
![[F091AEUKU3C_image_from_ios.jpg]]
**19:26 [andy](https://slack.com/archives/C08NFJSU753/p1749781571539729):** I’m pretty sure I developed a faceplate for that… maybe
**19:27 [andy](https://slack.com/archives/C08NFJSU753/p1749781626750269):** Small pump icon with the analog output value below it, color indicator when above 4 value or whatever it is.
**19:27 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781655272039):** sounds good.. do you want it to open up to the p_aout faceplate?
**19:27 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749781659591639):** (if you have one)
**19:28 [andy](https://slack.com/archives/C08NFJSU753/p1749781702034089):** Yeah
**19:33 [andy](https://slack.com/archives/C08NFJSU753/p1749782033879679):** I have notes that say I have a paout object if it’s not in there…
**19:34 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749782053809599):** its not.. i just add to add the AOI
**19:36 [andy](https://slack.com/archives/C08NFJSU753/p1749782193062529):** If I weren’t putting the kids down I could be more helpful. I’m getting some grief as it is
**19:36 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749782208487259):** oh no worries! i can run with this
**19:36 [andy](https://slack.com/archives/C08NFJSU753/p1749782210737729):** I’ll find the object and import it in the morning g
**19:37 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749782234146239):** do you mean ignition? i'll do what i can
**19:37 [andy](https://slack.com/archives/C08NFJSU753/p1749782234945059):** I like your new icon
**19:37 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749782241616929):** haha it looks a lot like yours actually
**19:37 [andy](https://slack.com/archives/C08NFJSU753/p1749782259358539):** I dig the diagram, very clever
**19:38 [andy](https://slack.com/archives/C08NFJSU753/p1749782331358229):** I wish T and A meshed together like M and R, I wouldn’t have had to pay multiple graphic artists to land on our logo lol
**19:39 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749782368506499):** yeah thats a tricky one.. i like how it turned out though!
**19:43 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749782611624639):** one last question so we dont duplicate any work.. you have the UDT for p_aout and faceplate?
**19:51 [andy](https://slack.com/archives/C08NFJSU753/p1749783077523639):** Yes, don’t build those. Assume I have them.
**19:51 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749783083455619):** very good
**19:51 [Mason Radke](https://slack.com/archives/C08NFJSU753/p1749783086219149):** thx