Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
condynet
PyPSD
Commits
dd167826
Commit
dd167826
authored
Mar 29, 2017
by
Paul Schultz
Browse files
corrected numba code
parent
7d76d6c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
PSD/microgrid_frequency_dynamics.py
View file @
dd167826
#from __future__ import division, print_function, absolute_import, unicode_literals
import
numpy
as
np
import
baobap
as
bao
from
numba
import
njit
import
os
from
complex_current_and_nodes
import
SwingEquationNode
,
define_network_rhs
,
define_network_rhs_codegen
,
define_root_rhs
try
:
import
baobap
as
bao
except
:
ImportWarning
(
"Cannot find pyBAOBAP"
)
default_dir
=
os
.
path
.
join
(
"simulation_data"
,
"microgrid"
)
...
...
Write
Preview
Markdown
is supported
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