Commit dd4fd1aa authored by Jan Dinkelbach's avatar Jan Dinkelbach
Browse files

minor logging fix in cigre mv powerflow test

parent aabcf43c
......@@ -34,7 +34,7 @@ TIME=$(date -d "+10 seconds" +%Y%m%dT%H%M%S) #-Iseconds
echo "Start simulation at: $TIME"
# Simulation params
OPTS="--timestep 1 --duration $((30)) --system-freq 50 --start-at $TIME --solver-domain STATIC --solver-type NRP"
OPTS="--timestep 1 --duration $((60)) --system-freq 50 --start-at $TIME --solver-domain STATIC --solver-type NRP"
echo "Simulation params: $OPTS"
CPS_LOG_PREFIX="[Sys ] " \
......
......@@ -54,7 +54,7 @@ int main(int argc, char** argv){
auto logger = DPsim::DataLogger::make(simName);
for (auto node : system.mNodes)
{
logger->addAttribute(node->name(), node->attribute("v"));
logger->addAttribute(node->name() + ".V", node->attribute("v"));
}
Simulation sim(simName, system, 1, 120, Domain::Static, Solver::Type::NRP, Logger::Level::NONE, true);
......
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