Initl.jl
Functions
ContGridModML.distribute_damping!
— Methoddistribute_damping!(
cm::ContGridModML.ContModel,
dm::ContGridModML.DiscModel
)
ContGridModML.distribute_inertia!
— Methoddistribute_inertia!(
cm::ContGridModML.ContModel,
dm::ContGridModML.DiscModel
)
ContGridModML.distribute_load!
— Methoddistribute_load!(
cm::ContGridModML.ContModel,
dm::ContGridModML.DiscModel
)
ContGridModML.distribute_parameters!
— Methoddistribute_parameters!(
cm::ContGridModML.ContModel,
dm::ContGridModML.DiscModel;
σ,
bfactor,
bmin
)
ContGridModML.distribute_susceptances!
— Methoddistribute_susceptances!(
cm::ContGridModML.ContModel,
dm::ContGridModML.DiscModel,
σ::Real,
bfactor::Real,
bmin::Real
)
ContGridModML.init_model
— Methodinit_model(
grid::Ferrite.Grid
) -> ContGridModML.ContModel{Float64}
Create a continuous model from a discrete model by using a diffusion process to distribute the paramters.
ContGridModML.integrate
— Methodintegrate(
dh::Ferrite.DofHandler,
cellvalues::Ferrite.CellScalarValues,
q_proj::SparseArrays.SparseMatrixCSC,
vals::Vector{<:Real}
) -> Real
Integrate a function over the whole area of the grid using the finite element method.
ContGridModML.interpolate
— Methodinterpolate(
x::Array{Tensors.Tensor{1, 2, T<:Real, 2}, 1},
grid::Ferrite.Grid,
dh::Ferrite.DofHandler,
u::Vector{<:Real},
fname::Symbol;
off,
factor,
extrapolate,
warn
) -> Vector{T} where T<:Real
Interpolate values from the continues model from a vector of coordinates. If a given coordinate is outside the grid it is replaced by the closed value on the grid.
ContGridModML.interpolate
— Methodinterpolate(
x::Tensors.Tensor{1, 2, T<:Real, 2},
grid::Ferrite.Grid,
dh::Ferrite.DofHandler,
u::Vector{<:Real},
fname::Symbol;
off,
factor,
extrapolate,
warn
) -> Real
Interpolate values from the continues model from a coordinate. If the given coordinate is outside the grid it is replaced by the closed value on the grid.
ContGridModML.set_local_disturbance!
— Methodset_local_disturbance!(
cm::ContGridModML.ContModel,
coord::Vector{<:Real},
dP::Real
)
ContGridModML.set_slack!
— Methodset_slack!(
cm::ContGridModML.ContModel,
dm::ContGridModML.DiscModel
)