dac_manifest.cc

Go to the documentation of this file.
00001 /*
00002  *  dac_manifest.cc
00003  *  DSimEngine2
00004  *
00005  *  Created by Michael Paluszek on 10/26/11.
00006  *  Copyright 2011 Princeton Satellite Systems. All rights reserved.
00007  *
00008  */
00009 
00010 
00011 #include "dac_manifest.h"
00012 #include <DSimEngine2/dsim_simulation.h>
00013 
00019 extern "C"
00020 {
00021 
00023 void *dsim_library_manifest()
00024 {
00025     // Create the manifest, giving the model library a unique name and description.
00026     void *manifest = dsim_create_library_manifest("com.psatellite.dsim.dac","DynamicsAndControl","Models and integrators for dynamics and control demos.");
00027      
00028     // Add the models to the manifest one at a time, with names and short/long descriptions.
00029     // This information will be displayed in DSimManager.
00030     dsim_add_model(manifest,"PHProcess",        "ph_process",   "Dynamics of a PH process",         "Dynamics of a four stream PH chemical process.");
00031     dsim_add_model(manifest,"PHSensor",         "ph_sensor",    "PH sensor",                        "Model of a pH sensor.");
00032     dsim_add_model(manifest,"Maglev",           "maglev",       "Dynamics of a maglev system",      "Dynamics of magnetic levitation system.");
00033     
00034     // Power
00035     dsim_add_model(manifest,"Battery",          "battery",      "Battery charging model",           "Battery charging model.");
00036     dsim_add_model(manifest,"Load",             "load",         "Electrical load",                  "Electrical load.");
00037     dsim_add_model(manifest,"PowerSystem",      "power_system", "Power system network",             "Power system network.");
00038     dsim_add_model(manifest,"SolarPanelModel",  "solar_panel",  "Terrestrial solar panel model",    "Solar panel model.");
00039     
00040     // Automotive
00041     dsim_add_model(manifest,"AutomobileSimple", "automobile_simple",    "Simple automobile 3DOF model", "Simple automobile 3DOF model.");
00042     dsim_add_model(manifest,"AutomobileNetwork", "automobile_network",    "Simple automobile network model", "Simple automobile network model.");
00043         
00044         return manifest;
00045 }
00046 
00047 }
 All Classes Files Functions Variables