Commit 9e47b40d authored by Jan Dinkelbach's avatar Jan Dinkelbach Committed by Markus Mirz
Browse files

fix load profile generation for different time steps in cigre shmem example

parent d5a21824
......@@ -75,7 +75,7 @@ int main(int argc, char** argv){
SystemTopology sys = reader.loadCIM(system_freq, filenames, CPS::Domain::SP);
CSVReader csvreader(simName, loadProfilePath, assignList, Logger::Level::info);
csvreader.assignLoadProfile(sys, 1, 1, args.duration, CSVReader::Mode::MANUAL);
csvreader.assignLoadProfile(sys, 0, args.timeStep, args.duration, CSVReader::Mode::MANUAL);
RealTimeSimulation sim(simName, sys, args.timeStep, args.duration, args.solver.domain, args.solver.type, args.logLevel);
Interface intf("/dpsim1-villas", "/villas-dpsim1");
......
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