Hi @面 ,
After reviewing the Wind Turbine Doubly-Fed Induction Generator (Phasor Type) documentation provided at the link below
You have to understand the current model since the existing phasor-type model uses continuous-time dynamics based on the principles of power flow and control systems for DFIGs. It employs Voltage-Sourced Converters (VSCs) for rotor and grid-side conversions, which are designed for steady-state analysis. So, in order to perform discrete time conversion, my suggestion would be replacing continuous blocks with discrete equivalents. In Simulink, this often involves using blocks from the “Discrete” library such as Discrete-Time Integrators or Zero-Order Hold blocks.
Please click the link below to understand how to utilize these blocks in Simulink
Zero order block
Discrete time integrator block
Afterwards, set an appropriate sample time for your discrete system. This will define how frequently your model updates its calculations, which is crucial for stability and performance. Modify the control loops (like PI controllers) to operate in discrete mode. This usually involves transforming continuous gains into discrete gains using methods such as Tustin’s method or matched pole-zero transformations.
Now, to integrate energy storage, I would suggest creating or selecting a discrete energy storage model that suits your needs (e.g., battery, supercapacitor). Make sure it has inputs and outputs compatible with your DFIG model. Use appropriate signal routing techniques (e.g., bus selectors) to connect outputs from the DFIG (like power output) to inputs on the energy storage system. Then, implement control strategies that manage power flow between the DFIG and energy storage effectively. This may involve logic to determine when to store excess energy or release stored energy based on grid demand or operational conditions. After modifications, simulate the model under various conditions to ensure it behaves as expected. Pay particular attention to transient responses and steady-state performance and compare results with expected outcomes from the original phasor model to identify discrepancies that may arise due to discretization.
I would also suggest to refer you back to relevant sections of Simulink documentation specific to your components (e.g., DFIG, energy storage) for detailed guidance on parameters and operational modes. Make sure to utilize examples provided within Simulink that demonstrate similar setups, especially those focusing on renewable integration with storage systems and establish performance metrics (e.g., efficiency, response time) that are critical for your application. These can guide further refinements in your model.
By following structured modifications mentioned above, validating through simulations, and leveraging resources available in Simulink documentation, you should be able to achieve a functional integration that meets your project requirements. If you need more specific details on any step or component configuration, feel free to ask!



