itesla / ipsl

The iTesla Power System Library is a Modelica library developed as part of the iTesla project. The library contains a set of power system component models for phasor time domain simulations.
Mozilla Public License 2.0
23 stars 71 forks source link

Automatic_Application_Example_Compilation_and_Simulation_Checkup_Tool #67

Open lvanfretti opened 8 years ago

lvanfretti commented 8 years ago

@tinrabuzin

We need to use the code you have set up for automatic sw-to-sw validation to build an automatic check up for all the system models in Application Examples (and in addition what Gladys calls "converted systems").

Here is the pseudo-code to explain the idea:

begin automated_application_examples_compilation
0) List/files of models to check
1) Automatically loads the library and the system model
2) Simulates the network using OpenModelica (and other tools if possible?)
    if simulation = succesful
       Save log and results, display where they are stored
    else
       Save error log, display where it is stored
    end
3) Reference model simulation/data load:
    if simulation tool = supported/configured (e.g. PSS/E)
      A) Simulate the network using the reference model 
      B) Save results, store, display where they are
    else 
       C) Load the reference simulation data for comparison
    end
if simulation = succesful
4) Compute the validation metrics and create plot(s) for comparison
end
end automated_application_examples_compilation