forked from guilda-dev/guilda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponent_empty.m
More file actions
49 lines (40 loc) · 1.15 KB
/
component_empty.m
File metadata and controls
49 lines (40 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
classdef component_empty < component
% モデル :空の機器モデル
% ・状態:なし
% ・入力:ポートなし
%親クラス:componentクラス
%実行方法:obj = component_empty()
% 引数 :なし
% 出力 :componentクラスのインスタンス
properties(SetAccess = private)
x_equilibrium;
end
methods
function set_equilibrium(obj, Veq, Ieq)
obj. x_equilibrium = [];
end
function nu = get_nu(obj)
nu = 0;
end
function [dx, I] = get_dx_constraint(varargin)
dx = [];
I = [0; 0];
end
function [dx, I] = get_dx_constraint_linear(varargin)
dx = [];
I = [0; 0];
end
function [A, B, C, D, BV, DV, BI, DI, R, S] = get_linear_matrix(obj, varargin)
A = [];
B = [];
C = zeros(2, 0);
D = zeros(2, 0);
BV = zeros(0, 2);
DV = zeros(2, 2);
R = [];
S = [];
DI = -eye(2);
BI = zeros(0, 2);
end
end
end