Question about modification of PIController
#548
xiaoheimai95
started this conversation in
General
Replies: 2 comments 9 replies
-
Check the v_str and e_str of xi. As discussed in documentation, v_str is used to initialize the equation. |
Beta Was this translation helpful? Give feedback.
8 replies
-
Following comments for your consideration:
As developing a new block can be a little bit complex, here is another easier way. You can skip developing a new block but implement the function you need in a model directly. It should be easier for initialization debug. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Dr. Cui and Jinning,
I modified the model
PIController
in order to add an external parameterutd
andutq
to inffect the voltage of VSG. The main modification ofPIController
is as follows:However, when I test the effect of the modification, it came up with the problem of initialization failure on the case of SMIB.txt, I will upload the modified SMIB.txt and init_info.txt later.
![error](https://private-user-images.githubusercontent.com/71546641/340941776-71c97c8e-3712-4e01-9560-61e03ffec112.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MzcxMDMsIm5iZiI6MTcyMTczNjgwMywicGF0aCI6Ii83MTU0NjY0MS8zNDA5NDE3NzYtNzFjOTdjOGUtMzcxMi00ZTAxLTk1NjAtNjFlMDNmZmVjMTEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDEyMTMyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmODA4ZmQ0NmMwN2UyZWQxZTM4M2QxYWFkYzE1NDFmZjZkZmVlMjc1NjVjYzkxZDBiMmY3NjNlNzIyNDc4NzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wngz_wp8ahG8M138fo5Jlrg9FORojMlKk13EvMuy_uE)
So is it possible for you to help me figure out this problem?
info.txt
SMIB.xlsx
Beta Was this translation helpful? Give feedback.
All reactions