Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
WyeCombiner.h
Go to the documentation of this file.
1
7
8#ifndef WYECOMBINER_H
9#define WYECOMBINER_H
10
11#include "Misc/general.h"
12#include "Schematic/Network.h"
13#include "Schematic/component.h"
14
30class WyeCombiner : public Network {
31public:
34
37 WyeCombiner(PowerCombinerParams PS) { Specification = PS; }
38
40 virtual ~WyeCombiner() {}
41
43 void synthesize() override;
44
45private:
47 struct PowerCombinerParams Specification;
48
49 int N;
50 double R;
51
53 void buildWye();
54
56 void setComponentsLocation();
57
59 int x_spacing;
60 int y_spacing;
61
63 QVector<QPoint> Ports_pos;
64
66 QVector<QPoint> R_pos;
67
69 QVector<QPoint> N_pos;
70};
71
72#endif // WYECOMBINER_H
Abstract base class for network implementations.
Abstract base class for network implementations.
Definition Network.h:27
Direct N-way Wye resistive power splitter.
Definition WyeCombiner.h:30
virtual ~WyeCombiner()
Destructor.
Definition WyeCombiner.h:40
WyeCombiner()
Default constructor.
Definition WyeCombiner.h:33
void synthesize() override
Synthesize the Wye resistive splitter network.
Definition WyeCombiner.cpp:14
WyeCombiner(PowerCombinerParams PS)
Constructor with power combiner parameters.
Definition WyeCombiner.h:37
Graphical component representation in schematic (definition)
Utility functions needed across the whole project.
Power combiner parameters.
Definition structures.h:264