Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Guidance on oop approach to analysing power system data
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
Seeking guidance on implementing an oo approach to processing power system electrical data (data is an array of instantaneous values as a function of time).
The data collected is: a) bus voltages b) node currents
Typically for a set of bus voltages there will be multiple node currents.
So for voltage planning methods to calculate RMS as function of time, frequency as function of time etc.
Similarly for current.
So this leads me (perhaps) to a voltage class and a current class... Or perhaps a bus class which has node subclasses?
For example, to calculate power in a node I need to use bus voltage and node current.
What would be a good way to organise classes for the above? Pass the bus voltage object to the node current object? Subclasses?
Appreciate guidance on the above.
Regards,
Martin.
0 comentarios
Respuestas (1)
Prateek Khandelwal
el 4 de En. de 2017
Hi Martin,
As far as Object Oriented Design is concerned, it would your real world objects ( nouns ) that are mapped to individual classes.
So, you'll have a node class, to represent nodes. And then a Bus class to represent Buses.
Now about the relationship between node and bus classes. If in your design, a node IS - A bus, then you should have node as a subclass of bus, however, if the bus HAS - A node, then you need to have node class as an attribute of the bus class.
I would like to mention this here that I have a very limited knowledge of Power Electronics, and my answer is based on my knowledge of Object Oriented Analysis and Design.
I hope this helps.
1 comentario
La pregunta está cerrada.
Comunidades de usuarios
Más respuestas en Power Electronics Control
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!