How to display parameter values in Simscape custom block?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I am working in Simscape to perform hydraulic systems and thermal liquid systems analysis for my organization. A nice feature I found in the Simscape Fluids toolbox was the custom fluid property blocks. These blocks are similar to their analogs in the base Foundation library but they come pre-loaded with certain fluids such as Transmission Fluid, Gasoline, Water, etc. Additionally in the Hyrdaulic domain, it allows you to specify a fluid temperature to evaluate properties at. It also lets you view the current properties (Density/Kinematic viscosity) at the specified temperature prior to simulation.
I wanted to replicate this block's behavior so that I can re-utilize it in many different simulations and give it to my colleagues for usage in theirs. I needed to write this custom block since we have some proprietary fluids that we use regularly. The block so far has been fairly easy to compose by placing a lookup table function and the fluid property data in as vectors. I have also been able to have a fluid selection drop down menu by using an enumeration function. But I am unable to locate in documentation for Simscape, how to display the results of the lookup table in the block's parameters dialog. How can I do this?
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Simscape Fluids en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!