TestModel.h revision 10447
1#ifndef __DSENT_MODEL_ELECTRICAL_TESTMODEL_H__ 2#define __DSENT_MODEL_ELECTRICAL_TESTMODEL_H__ 3 4#include "util/CommonType.h" 5#include "model/ElectricalModel.h" 6 7namespace DSENT 8{ 9 class TestModel : public ElectricalModel 10 { 11 public: 12 TestModel(const String& instance_name_, const TechModel* tech_model_); 13 virtual ~TestModel(); 14 15 public: 16 // Set a list of properties' name needed to construct model 17 void initProperties(); 18 19 // Clone and return a new instance 20 virtual TestModel* clone() const; 21 22 protected: 23 // Build the model 24 void constructModel(); 25 void updateModel(); 26 void evaluateModel(); 27 28 }; // class TestModel 29} // namespace DSENT 30 31#endif // __DSENT_MODEL_ELECTRICAL_TESTMODEL_H__ 32 33