Simcenter Amesim Determining maximum from multiple signal in Amesim simulation

2022-12-16T21:34:43.000-0500
Simcenter Amesim Automation Connect Simcenter System Simulation Client for Git Simcenter Amesim Teamcenter Share

Summary

If you need a maximum value out of multiple signals of similar nature, this article provides a method to extract it.


Details

Let us for example look at modeling a coolant flow passage with a single flow source connected to multiple thermal masses to extract heat from them. You need the maximum temperature out of all these thermal masses and you want to use it to control the coolant flow.  

This article shows you how to extract the maximum temperature out of these thermal masses. For this example, let us look at 3 thermal masses with temperatures of 10 C, 20C and 30C respectively. They have the temperature sensor associated with each of them which measure their temperature at all times.

image.png

We now use the dynamic mux component(DYNMUX2-1) to gather all the signals and then feed it to the dynamic expression(DYNFUNC00-1) (both from signal control library) as shown below:

image.png

Then you can set the expression of the function in the "parameter" mode to max(x1,x2,x3) where x1,x2 and x3 are inputs i.e. temperatures in this case.

image.png
Once you run the simulation, you can see the output of the function to be the maximum temperature which can used to control the flow-rate of the coolant.
image.png
 

 

KB Article ID# KB000047069_EN_US

Contents

SummaryDetails

Associated Components

Amesim Automation Connect