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
3cf57993
Commit
3cf57993
authored
Dec 01, 2017
by
Markus Mirz
Browse files
fixed RX line error
Former-commit-id:
61bfc985
parent
8c1ea23b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Examples/Cxx/ReferenceCircuits/Example_RxLine1.cpp
View file @
3cf57993
...
...
@@ -34,7 +34,7 @@ int main() {
fileName
<<
"SimulationExampleRXLine_"
<<
timeStep
;
ElementList
circElements
;
circElements
.
push_back
(
std
::
make_shared
<
IdealVoltageSource
>
(
"v_1"
,
1
,
0
,
Complex
(
10
,
0
)));
circElements
.
push_back
(
std
::
make_shared
<
RxLine
>
(
"Line_1"
,
1
,
2
,
0.1
,
0.001
));
circElements
.
push_back
(
std
::
make_shared
<
RxLine
DP
>
(
"Line_1"
,
1
,
2
,
0.1
,
0.001
));
circElements
.
push_back
(
std
::
make_shared
<
ResistorDP
>
(
"r_1"
,
2
,
0
,
20
));
// Define log names
...
...
Examples/Cxx/ReferenceCircuits/Example_RxLine3.cpp
View file @
3cf57993
...
...
@@ -34,7 +34,7 @@ int main() {
fileName
<<
"SimulationExampleRXLine3_"
<<
timeStep
;
ElementList
circElements
;
circElements
.
push_back
(
std
::
make_shared
<
IdealVoltageSource
>
(
"v_1"
,
1
,
0
,
Complex
(
10
,
0
)));
circElements
.
push_back
(
std
::
make_shared
<
RxLine
>
(
"Line_1"
,
1
,
2
,
0.1
,
0.001
));
circElements
.
push_back
(
std
::
make_shared
<
RxLine
DP
>
(
"Line_1"
,
1
,
2
,
0.1
,
0.001
));
circElements
.
push_back
(
std
::
make_shared
<
ResistorDP
>
(
"r_1"
,
2
,
0
,
20
));
// Define log names
...
...
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