Cheat sheet for ModL in Equation(I) blocks

Discussions involving programming in ExtendSim.
Post Reply
matt_aylward
Posts:8
Joined:Wed Dec 10, 2008 5:43 pm
First Name:Matt
Last Name:Aylward
Cheat sheet for ModL in Equation(I) blocks

Post by matt_aylward » Wed Apr 24, 2019 6:34 am

1. I'm not a good code writer, but am always looking at ways to improve the efficiency of my models through the use of equation-based blocks.

2. To get the 'outputs=inputs' to work correctly takes many false starts (am forever climbing the learning curve). And I've never found a thorough treatment of how to write ModL statements in either the User manual or the Technical reference.

3. Are there good ModL cheat sheets available? If there aren't any, is a cheat sheet for C of some utility?

robinclark
Posts:1
Joined:Sat May 03, 2008 11:09 am
First Name:Robin
Last Name:Clark

Re: Cheat sheet for ModL in Equation(I) blocks

Post by robinclark » Sun Apr 28, 2019 7:22 pm

Hi Matt,

Attached is one of my cheat sheets. You might already have this though. I will work on putting together something with a little more volume and I will try and find a good reference for C programming.

Thansk
Robin
Attachments
Code Review 3.pdf
(158.43KiB)Downloaded 180 times

matt_aylward
Posts:8
Joined:Wed Dec 10, 2008 5:43 pm
First Name:Matt
Last Name:Aylward

Re: Cheat sheet for ModL in Equation(I) blocks

Post by matt_aylward » Fri May 03, 2019 7:46 am

Robin,

1. Thanks for the cheat sheet; very helpful.

2. Also, the set of models you and Dave developed for the DESS textbook are full of excellent, elegant examples of ways to minimize model complexity while speeding execution.

Post Reply