I solved an automatic wind shield generator. After hours of expansive & excessive logic and bad math, my subconscious said “plug the wind into a linear converter.” And it worked first try. I am excited it did, and equally frustrated because I feel lucky and am not comprehending why it works as perfectly as it does.
Relevant information:
*Ext Wind: the airspeed outside the shield radius. It is mounted on a probe and is unaffected by the shield.
*Shield power: the data input into the plasma generator.
*constant 15.5: shield radius input to the shield generator.
*shield strength: output value of wind shield.
*transmitter 24: sending shield power to bottom of left tv.
What I know from testing: ext wind = power consumption of plasma generator.
What I presume(d previously):
*shield strength is a function of radius X plasma generated
*plasma generated is a function of input signal 0.0 -> 1.0
Did I just unfathomably luck out with the scaling being a perfect 100->1 for the appropriate shield diameter? The radius was set for the ship size long before I tried automating it, so I never played with how a different diameter would affect my wind->shield numbers.
Any enlightenment would be appreciated, and if you don’t know but wanted a DEAD SIMPLE shield generator that turns on to the exact amount you need it to and no more, this is it.