Hello,
I'm Stefano Casson and I'm using COMSOL to model the behavior of a heat storage in the gravel: my intention is to use a function as an input of temperature (I chose the interpolation) so in this way I can load a txt file where there are 8760 values of temperature, one per each hour of the year. The problem is that sometimes the system works, let's say when T > 30°C, (during sunny days), but most of the time the system should be turn off because there is no heat to storage: I couldn't figure out how to express this in COMSOL. For example if I put zero as temperature in the txt loaded file when T < 30°C, for the program "zero" is a value but I want COMSOL to understand to stop the injection of fluid for those hours, and to star it again when T > 30°C. A function ON-OFF could describe better this kind of trend but if I use different types of function I can't load an external file. Can anyone help me please?
Kind Regards,
Stefano.
I'm Stefano Casson and I'm using COMSOL to model the behavior of a heat storage in the gravel: my intention is to use a function as an input of temperature (I chose the interpolation) so in this way I can load a txt file where there are 8760 values of temperature, one per each hour of the year. The problem is that sometimes the system works, let's say when T > 30°C, (during sunny days), but most of the time the system should be turn off because there is no heat to storage: I couldn't figure out how to express this in COMSOL. For example if I put zero as temperature in the txt loaded file when T < 30°C, for the program "zero" is a value but I want COMSOL to understand to stop the injection of fluid for those hours, and to star it again when T > 30°C. A function ON-OFF could describe better this kind of trend but if I use different types of function I can't load an external file. Can anyone help me please?
Kind Regards,
Stefano.