- Which version of MATLAB are you using.
- If you comment out the "Solver Configuration" block & associated downstream constructs, is the issue still reproducible?
- Is there any parameter named "RelativeBuildDir" used in this block/model anywhere
Simulink Design Verifier and Solver Configuration not compatible
3 views (last 30 days)
Show older comments
I want to apply the Design Verifier to my PV system, but the verifier fails during the compatibility check with the following error:
"Translation failed: ['PVSystem_Model_FF/solvConfig']: Reference to non-existent field 'RelativeBuildDir'."
The block "solvConfig" is the Solver Configuration block which is required to be connected to the physical system.
Would welcome any help, thank you in advance!
3 Comments
Saara Väänänen
on 5 Aug 2021
Edited: Saara Väänänen
on 5 Aug 2021
Hi,
I have a similar kind of problem.
I am trying to use design verifier to detect design errors in my model with the following outcome:
Building model representation failed: ['Compressor01/Solver Configuration']: Unrecognized field name "RelativeBuildDir".
Solver Configuration is Simulink block that is connected to my gas network. I have not named any field as "RelativeBuildDir" and can not find any field with the name.
- I am using version 10.3 (R2021a)
- After solver configuration there is only Reservoir (G)
- Can not find any parameter named "RelativeBuildDir" but apparently there must be a field with that name.
Hope to hear an answer to this problem!
- Saara
Pat Canny
on 5 Aug 2021
Hi Saara,
Thank you for your question. We are looking into this, and one of my colleagues will get back to you.
Thanks.
- Pat (Simulink Design Verifier Product Manager)
Answers (1)
Shishir Dwivedi
on 12 Aug 2021
Hello Saara,
Thank you providing the details, this is bug in the SLDV compatability analysis. We have informed our Developers about the same and this would be fixed in the upcoming MATLAB releases. That said, the solver 'Solver Configuration' and 'Reservoir' blocks belong to 'Simscape' library and SLDV does not support blocks from this library. Please find details of supported blocks at this link. Hope this helps.
Best Regards,
Shishir.
1 Comment
Saara Väänänen
on 13 Aug 2021
Hi,
Thanks a lot for your answer.
That explains the error.
Best Regards,
Saara
See Also
Categories
Find more on Model Verification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!