I am using Flow to produce thermal models of pc boards and enclosures. My goal is to determine how much power (watts) I need to apply to a power transistor that will raise the temperature of the surrounding components to a certain temperature.
I have attached a simple test model and some screen shots of GOALS and HEAT SOURCE definitions. In this model I am trying to bring the temperature of the thermistor component up to 50 degrees from a 25 degree ambient temperature. When you start the simulation the power builds up until the thermistor temperature is reached then it starts reducing power as the temperature overshoots. As the temperature falls, power is added back as it undershoots. Eventually the model rings out and stabilizes at 50 degrees on the thermistor with the power transistor slightly hotter. This model works as it should in real life basically because it is so simple. When I tried it on an actual product I had huge swings because there is so much delay in heating up other mass objects. I couldn't use it because I was getting +400 watts and -250 watt swings.
The Equation goal POWER ADJUSTMENT is used continuously adjust the power level based on the temperature of the thermistor.
The Equation goal CURRENT WATTAGE is used extract the current wattage and pass it back to the previous goal.
I then define the heat source as a dependency formula based on the POWER ADJUSTMENT goal.
My question. Is there a way to limit the amount of power calculated in the POWER ADJUSTMENT goal? I want to use the POWER ADJUSTMENT goal unless it is above 4 watts or below 0 watts. I was thinking something like an "IF" statement