ALSETLab / RaPId

RaPId (a recursive acronym for "Rapid Parameter Identification") utilizes different optimization and simulation technologies to provide a framework for model validation and calibration of any kind of dynamical systems, but specifically catered to power systems.
GNU Lesser General Public License v3.0
40 stars 12 forks source link

Major changes to the structure of the program: #40

Closed janlav closed 8 years ago

janlav commented 8 years ago

This change affect the whole operation of the program.

Now Rapid.m is a Class and not a function (rapid.m): To use rapid you will now have to create an object of the Rapid-class which carries out everything that RaPId is supposed to do by the class methods. The most important are:

  1. a=Rapid() ora=Rapid(rapidSettings)create an instance a of the class or instantiate and load rapidSettings, a struct or an instance of RaPIdClass respectively.
  2. [sol, hist, rapidSettings]=a.runIdentification()will carry out the identification task (previously done by rapid(rapidSettings) ).
  3. a.plotBestTracking() will plot how close the simulated system followed the reference output.

See the commit messages also. Hopefully you can run the installation and try the Examples when reviewing this PR.

Some issues directly affected by this are #11, #16 and #31 altough none of these may necessarily be considered closed.