Skip to content

Commit

Permalink
Add simple TR model for msmbend
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Sep 4, 2024
1 parent c52e031 commit b17780c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/microstrip/msmbend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ void msmbend::initAC (void) {
allocMatrixMNA ();
}

void msmbend::initTR (void)
{
initDC();
}

void msmbend::calcAC (nr_double_t frequency) {
setMatrixY (ztoy (calcMatrixZ (frequency)));
}
Expand Down
1 change: 1 addition & 0 deletions src/components/microstrip/msmbend.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class msmbend : public qucs::circuit
void calcSP (nr_double_t);
void initDC (void);
void initAC (void);
void initTR (void);
void calcAC (nr_double_t);
qucs::matrix calcMatrixZ (nr_double_t);
};
Expand Down

0 comments on commit b17780c

Please sign in to comment.