Commit e473825d authored by Markus Mirz's avatar Markus Mirz
Browse files

fix loadProfileReader name

parent b1dd6da2
Subproject commit 123bfcd4e424f326d93e9d5f114f3ff52d61aec6
Subproject commit 3197577719d0cbde8faa769f7f37be5ed5b67dde
......@@ -20,7 +20,7 @@
#include "cps/CIM/Reader.h"
#include <DPsim.h>
#include "cps/loadProfileReader.h"
#include "cps/LoadProfileReader.h"
using namespace std;
using namespace DPsim;
......@@ -77,8 +77,8 @@ int main(int argc, char** argv){
CIM::Reader reader(simName, Logger::Level::INFO, Logger::Level::NONE);
SystemTopology system = reader.loadCIM(system_freq, filenames, CPS::Domain::Static);
//load profile lpreader
loadProfileReader lpreader(simName, loadProfilePath, assignList, Logger::Level::INFO);
lpreader.assign(system, 0, 1.5, 15, loadProfileReader::Mode::MANUAL);
LoadProfileReader lpreader(simName, loadProfilePath, assignList, Logger::Level::INFO);
lpreader.assign(system, 0, 1.5, 15, LoadProfileReader::Mode::MANUAL);
auto logger = DPsim::DataLogger::make(simName);
for (auto node : system.mNodes)
......@@ -139,7 +139,7 @@ int main(int argc, char** argv){
}
Simulation sim(simName, system, 1.5, 15, Domain::Static, Solver::Type::NRP, Logger::Level::INFO, true);
sim.addLogger(logger);
sim.run();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment