How to display parameter values in Simscape custom block?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!