LU, first off enjoy your vacation, you deserve it for your code: 1 line 17: change to beqz r2 clearfuel 2. swap lines 21 & 22 3. move line 62 to 54 4. add in line 71: s volumepump volumePumpSetting 0 5 add in 31; alias outputVolume r15 6 change line 33 to: l outputvolume outputanalyzer Volume (i was incorrect for this part of the formula, you need the output analyzer volume, not input SORRY!) 7. remove the tank that keeps blowing, use inlines instead. with the additional changes of 5&6, the pump will be less aggressive. as well due to a tank and pipes being separate, the pump becomes "jumpy"/oscillates due to the game recalculating. optional: in-between lines 58 59, add in s db Setting volumePumpSetting, if this number stays above 10 while in operation, you need a turbo pump optional2, move all your alias's to the top, outside the loops. the script only needs to run them once for this episode, atmospherics have a built in pipe analyzers for ea pipe connection. you can use em all for low cost of 10W total. the code will run as long as its turned on Ie for a filtration: input pipe side-"prefix"Input ie TemperatureInput filtered side "prefix"Output waste side "prefix"Output2 to make them filter faster, increase the input pressure and decrease the waste side pressure with volume pumps. the higher in pressure differential, the more mol/sec they move
Couple of considerations: 1. Your new CO2 system. You don't need the volume pump. Set the pressure regulator to 60 kPa and turn the regulator on or off depending if the temperature is between a range (use the tank or pipe analyser to read temp). 2. You could potentially liquefying pollutants in your stirling engine system, considering the gas is reaching 11 MPa, where 5MPa is enough to liquefy pollutant for your coolant system. 3. Looking into the code: - First, on line 21, you have d1 aliased. - Lines 59 and 62 should be swapped. As you mention in your notes, you need to check if 'volumePumpSetting' is less than 0 before writing its Setting to the pump. However im not sure that isnt the problem because it you write a Setting valve below 0 to a pump it'll auto set to 0. - You might want to double check your mols calculation as you might never be reaching your target which is keeping the PID loop at its max value or its not reacting quick enough to an overshoot. Might want to hook up a graph console to monitor your process value. - Id look at point 2 first before looking at the code. I definitely think that PID control might be a little over kill for this. Personally id set the pump to pressurise until 15 MPa, let it run until the power output of the stirling engine drops below its max threshold and start again. Hope you're enjoying your holiday guv!
The pipes screen saver at the end was perfect. I hope you are having a terrific time. After all the smiles you two have given me, and I assume many others, you cetainly deserve it. Much love. Heaps of respect. See ya when I see ya. o7
My extremely unexperienced IC10 coder brain would say the issue is at line 59. If the tank gets over 10500, the logic will give a negative number, which (if I understand correctly the comment) gets turned into a positive number for a fraction of a moment, before getting caught by the branching logic at line 62. That fraction of a moment happens consistently, and every time it lets a little bit more air through, as the pressure keeps getting farther and farther from 10500, until boom. My guess would be to move line 62 between line 58 and 59, that way that frame where the pump jumps into action is never called when molNeeded is 0 or lower
This, swap 59 & 62. ❤ Side note, controls engineering would have you determine the setpoint and only set the pump in a single location after all the math is done. That way you're not getting the pump turns on for a few clock cycles before you check to turn it off and set it again. 🤷♂️
I would have thought you do all pump checks, saved the values to a variable. Sanity checked the results, then only turned on whichever pump you needed after. If you end the check over pressure, Inlet is set to 0. Vent gets turned on. If within target margins, turn both pumps off. If below target, the first two conditions are deactivated and the PID loop will calculate a target flow rate. A three state condition loop. Just add your temperature sensor for overheat detection and program complete. The three 'off' states should be processed before the 'on' state to skip to end after setting your inlet pump to zero. Should they all be satisfied the engines may run, trigger the PID loop. The folks above me seem to agree the PID loop is turning on the pump before the checks are turning it off. Probably need to reorder the order of operations.
@@glenmcgillivray4707 the PID loop is unfortunately only a proportional loop, there's no term to check "are we getting there fast enough" (integral) and none to check "do we need to slow down rate of change (derivative). If the loop actually allowed for these additional controls, plus a final check limit minimum pump rate to 0, all would, in theory, be fine. There were comments on earlier videos about simpler control schemes just add a back pressure regulator to blow off excessive pressure in the hot gas capture.
@@Zunyr I think restricting the intake pressure, and disabling the input when gas pressure reaches limits is probably wise. I definitely approve of both choices.
I learned my lesson on that liquid tank overpressure. When a liquid tank is almost completely full a purge valve will never keep up. what you are looking for is a liquid volume regulator. If the issue has to do with the ic chip however I have no idea lol good luck.
Ok found it ... its actually really simple: you are asking if the divison from moleneeded is smaller then 0 ... since a div product will always be above 0 if its of two positive values it can never reach 0. So you either want to change the "bltz moldNeeded pumpsetting" to brlt moldNeeded 0.1 pumpSetting or something like that
I'd suggest, pumping to a storage tank at night while you are pulling more in, then venting that tank slowly during the day to cool the Stirling generators, and instead pumping night gas directly into the same vent line when it's cold enough outside. This gives you a daytime reserve tank you can pull CO2 from, and still use cooled gas to increase Stirling engine function during the day. The 'waste' cold gas gets used for cooling. Perhaps controlled by temperature regulation. If temperature is over 300k open vent, flowrate X. When outside temperature is low, pump gas to Y pressure inside a joined tank to bypass a one way valve connected to 'waste night gas tank' at night, if pressure in the tank is higher than expected, it'll turn off the night pump and focus on cooling the Stirling engines itself.
My granddad when I was very young used to sing “Oh Danny Boy, the Pipes, the Pipes are calling” when I saw him. Man I feel very old now as that was 15 to 20 years ago.
Oh, Danny boy, the pipes, the pipes are calling From tube to tube, and down the mountain side. The air is gone, and all the breathings falling, It's you, it's you must go and I must bide. But come ye back when summer's in the meadow, Or when the valley's hushed and red with glow, It's I'll be here in sunshine or in shadow, Oh, Danny boy, oh Danny boy, I love you so! But when ye come, and all the plants are dying, If I am dead, as dead I well may be, You'll come and find the place where I am lying, And kneel and say an Ave there for me. And I shall hear, though soft you tread above me, And all my grave will warmer, sweeter be, For you will bend and tell me that you love me, And I shall sleep in peace until you come to me!
40 sec in "out of CO2" - Im pretty sure the atmosphere has plenty - cooling is the problem. Edit: Most of the episode is about exactly this - rip this comment and leave it as sacrifice to the algorithm god aka MASTER
@ which is absolutely much deserved and I hope you both enjoy it!! I only noticed because it’s my absolute favourite part of all of your videos.. no criticism here though, just wanting to know if I somehow missed it 😅
"It's all breaking. Please help. I don't know why." Lmao
LU, first off enjoy your vacation, you deserve it
for your code:
1 line 17: change to beqz r2 clearfuel
2. swap lines 21 & 22
3. move line 62 to 54
4. add in line 71: s volumepump volumePumpSetting 0
5 add in 31; alias outputVolume r15
6 change line 33 to: l outputvolume outputanalyzer Volume (i was incorrect for this part of the formula, you need the output analyzer volume, not input SORRY!)
7. remove the tank that keeps blowing, use inlines instead. with the additional changes of 5&6, the pump will be less aggressive. as well due to a tank and pipes being separate, the pump becomes "jumpy"/oscillates due to the game recalculating.
optional: in-between lines 58 59, add in s db Setting volumePumpSetting, if this number stays above 10 while in operation, you need a turbo pump
optional2, move all your alias's to the top, outside the loops. the script only needs to run them once
for this episode, atmospherics have a built in pipe analyzers for ea pipe connection. you can use em all for low cost of 10W total. the code will run as long as its turned on
Ie for a filtration:
input pipe side-"prefix"Input ie TemperatureInput
filtered side "prefix"Output
waste side "prefix"Output2
to make them filter faster, increase the input pressure and decrease the waste side pressure with volume pumps. the higher in pressure differential, the more mol/sec they move
Couple of considerations:
1. Your new CO2 system. You don't need the volume pump. Set the pressure regulator to 60 kPa and turn the regulator on or off depending if the temperature is between a range (use the tank or pipe analyser to read temp).
2. You could potentially liquefying pollutants in your stirling engine system, considering the gas is reaching 11 MPa, where 5MPa is enough to liquefy pollutant for your coolant system.
3. Looking into the code:
- First, on line 21, you have d1 aliased.
- Lines 59 and 62 should be swapped. As you mention in your notes, you need to check if 'volumePumpSetting' is less than 0 before writing its Setting to the pump. However im not sure that isnt the problem because it you write a Setting valve below 0 to a pump it'll auto set to 0.
- You might want to double check your mols calculation as you might never be reaching your target which is keeping the PID loop at its max value or its not reacting quick enough to an overshoot. Might want to hook up a graph console to monitor your process value.
- Id look at point 2 first before looking at the code.
I definitely think that PID control might be a little over kill for this. Personally id set the pump to pressurise until 15 MPa, let it run until the power output of the stirling engine drops below its max threshold and start again.
Hope you're enjoying your holiday guv!
The pipes screen saver at the end was perfect. I hope you are having a terrific time. After all the smiles you two have given me, and I assume many others, you cetainly deserve it. Much love. Heaps of respect. See ya when I see ya. o7
The thumbnail on this one is incredible, the black holes look like eyes.
Night gas, sounds like a euphemism for a dutch oven.
My extremely unexperienced IC10 coder brain would say the issue is at line 59. If the tank gets over 10500, the logic will give a negative number, which (if I understand correctly the comment) gets turned into a positive number for a fraction of a moment, before getting caught by the branching logic at line 62. That fraction of a moment happens consistently, and every time it lets a little bit more air through, as the pressure keeps getting farther and farther from 10500, until boom.
My guess would be to move line 62 between line 58 and 59, that way that frame where the pump jumps into action is never called when molNeeded is 0 or lower
This, swap 59 & 62. ❤
Side note, controls engineering would have you determine the setpoint and only set the pump in a single location after all the math is done. That way you're not getting the pump turns on for a few clock cycles before you check to turn it off and set it again. 🤷♂️
I would have thought you do all pump checks, saved the values to a variable. Sanity checked the results, then only turned on whichever pump you needed after. If you end the check over pressure, Inlet is set to 0. Vent gets turned on. If within target margins, turn both pumps off. If below target, the first two conditions are deactivated and the PID loop will calculate a target flow rate.
A three state condition loop. Just add your temperature sensor for overheat detection and program complete.
The three 'off' states should be processed before the 'on' state to skip to end after setting your inlet pump to zero. Should they all be satisfied the engines may run, trigger the PID loop.
The folks above me seem to agree the PID loop is turning on the pump before the checks are turning it off. Probably need to reorder the order of operations.
@@glenmcgillivray4707 the PID loop is unfortunately only a proportional loop, there's no term to check "are we getting there fast enough" (integral) and none to check "do we need to slow down rate of change (derivative).
If the loop actually allowed for these additional controls, plus a final check limit minimum pump rate to 0, all would, in theory, be fine.
There were comments on earlier videos about simpler control schemes just add a back pressure regulator to blow off excessive pressure in the hot gas capture.
@@Zunyr I think restricting the intake pressure, and disabling the input when gas pressure reaches limits is probably wise. I definitely approve of both choices.
I learned my lesson on that liquid tank overpressure. When a liquid tank is almost completely full a purge valve will never keep up. what you are looking for is a liquid volume regulator. If the issue has to do with the ic chip however I have no idea lol good luck.
goddamn the boys cooked on this intro
Ok found it ... its actually really simple: you are asking if the divison from moleneeded is smaller then 0 ... since a div product will always be above 0 if its of two positive values it can never reach 0. So you either want to change the "bltz moldNeeded pumpsetting" to brlt moldNeeded 0.1 pumpSetting or something like that
I'd suggest, pumping to a storage tank at night while you are pulling more in, then venting that tank slowly during the day to cool the Stirling generators, and instead pumping night gas directly into the same vent line when it's cold enough outside. This gives you a daytime reserve tank you can pull CO2 from, and still use cooled gas to increase Stirling engine function during the day.
The 'waste' cold gas gets used for cooling. Perhaps controlled by temperature regulation. If temperature is over 300k open vent, flowrate X. When outside temperature is low, pump gas to Y pressure inside a joined tank to bypass a one way valve connected to 'waste night gas tank' at night, if pressure in the tank is higher than expected, it'll turn off the night pump and focus on cooling the Stirling engines itself.
My granddad when I was very young used to sing “Oh Danny Boy, the Pipes, the Pipes are calling” when I saw him. Man I feel very old now as that was 15 to 20 years ago.
lmao the intro this episode was great
As a bald guy commenting really, I feel blessed. Loving this series. ❤️
I've been longing for this series to continue! FINALLY A NEW EPISODE!
this series really has gone dante's inferno but if he wasn't a crusader and made aqueducts or something
Man I love this series and the intro is always amazing ❤
And good vacation ^w^
Oh, Danny boy, the pipes, the pipes are calling
From tube to tube, and down the mountain side.
The air is gone, and all the breathings falling,
It's you, it's you must go and I must bide.
But come ye back when summer's in the meadow,
Or when the valley's hushed and red with glow,
It's I'll be here in sunshine or in shadow,
Oh, Danny boy, oh Danny boy, I love you so!
But when ye come, and all the plants are dying,
If I am dead, as dead I well may be,
You'll come and find the place where I am lying,
And kneel and say an Ave there for me.
And I shall hear, though soft you tread above me,
And all my grave will warmer, sweeter be,
For you will bend and tell me that you love me,
And I shall sleep in peace until you come to me!
Enjoy your vacation my man!
What about running 2 more heat exchangers in series to let them cool lower and lower so each stage has a reserve heat capacity.
A second episode #23??
you saw nothing
Finally cat is back!
I am in 5 secs in and magic is cooking hard
tfw you run out of co2 after burning coal for power
🛡Spoiler Shield 🛡
Remember to plant a few potatoes, you are running out
Petition for Magic and Baldy McBaldhead to add a mod that replaces the skull graphic with devito
Build it, and we will come.
And then we'll download the mod
@LargelyUnemployed bluff called :D
40 sec in "out of CO2" - Im pretty sure the atmosphere has plenty - cooling is the problem.
Edit: Most of the episode is about exactly this - rip this comment and leave it as sacrifice to the algorithm god aka MASTER
i thought i was on a differnt chanle with that intro lol
pipes
For now --> forever
Couldn’t you just run the hot gas from the air conditioner to the sterling engines system?
I don’t play the game, it just sounds like it would work.
Is it just me or was there less Magick commentary than normal??
We're both on a bit of a vacay
@ which is absolutely much deserved and I hope you both enjoy it!!
I only noticed because it’s my absolute favourite part of all of your videos.. no criticism here though, just wanting to know if I somehow missed it 😅
Does anybody else have weird audio cracking in this video?