Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
aa57cc03
Commit
aa57cc03
authored
May 15, 2017
by
Georg Martin Reinke
Browse files
add getCurrent for CurrentSource again
Former-commit-id:
f2569515
parent
04f9d0f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/Components/CurrentSource.cpp
View file @
aa57cc03
...
...
@@ -19,3 +19,7 @@ void CurrentSource::applyRightSideVectorStamp(SystemModel& system) {
void
CurrentSource
::
step
(
SystemModel
&
system
,
Real
time
)
{
this
->
applyRightSideVectorStamp
(
system
);
}
Complex
CurrentSource
::
getCurrent
(
SystemModel
&
system
)
{
return
Complex
(
currentr
,
currenti
);
}
Source/Components/CurrentSource.h
View file @
aa57cc03
...
...
@@ -19,6 +19,7 @@ namespace DPsim {
void
applyRightSideVectorStamp
(
SystemModel
&
system
);
void
step
(
SystemModel
&
system
,
Real
time
);
void
postStep
(
SystemModel
&
system
)
{
}
Complex
getCurrent
(
SystemModel
&
system
);
};
}
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment