OpenStudio Crashes with the error "bad cast" and "Access violation - no RTTI data!" [closed]

asked 2015-05-12 20:27:43 -0600

Daniel Mak gravatar image

updated 2015-07-11 09:43:15 -0600

Dear all,

When I opened my OS model this morning I got an error message as I tried to navigate to the "Facility" tab: "An unhandled exception has occurred. Access violation - no RTTI data!".

The last thing I changed from a working model was assigning VRF system for a few zones and removing them from the main chilled water loop. Therefore I tried to delete the VRF system and as I did that I got another error message: "An unhandled exception has occurred. bad cast"

I am aware of another post that addresses this error associated with "measures" and corrupted directory. I have tried all the remedies suggested in that post and it still didn't work.

Any thoughts about what might have gone wrong?

Thanks in advance, Daniel

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Julien Marrec
close date 2015-09-17 16:45:21.544601

Comments

I think we are going to need the model to tackle this one. Can you send it via something like DropBox? We can probably repair your model and hopefully figure out what originally caused the problem.

Kyle Benne gravatar image Kyle Benne  ( 2015-05-13 10:41:13 -0600 )edit

Dear Kyle, thanks for the reply. Could you kindly drop me an email at Daniel.Mak@arup.com so that I can send you a link to the file.

Daniel Mak gravatar image Daniel Mak  ( 2015-05-13 20:06:38 -0600 )edit

@Daniel Mak I repaired your model and sent it back to you. I have not yet figured out how you got to this state. Can you provide a little more detail? You mentioned you had removed something from the main chilled water loop. What exactly did you remove? I'm thinking there must have been some kind of zone equipment or coil between the zone and the chilled water loop besides the VRF.

Kyle Benne gravatar image Kyle Benne  ( 2015-05-15 11:33:50 -0600 )edit

Dear Kyle, thank you for fixing the file. As for the changes I had made before something went wrong, I removed a few thermal zones (the IT rooms) from the main chilled water loop and created a VRF system for them. I had also done other minor modifications to the model like adjusting schedules and loads but I don't think they caused the file to corrupt. I might have mis-clicked something which I was not aware of.

Daniel Mak gravatar image Daniel Mak  ( 2015-05-17 19:53:31 -0600 )edit

Thanks for getting back to me. Note that mis clicking is not an excuse for the application mucking up your model. There is certainly a bug here I just haven't found it yet. Your zones could not have been connected directly to the chilled water loop. There must have been a CoilCoolingWater instance that was contained within some type of zone equipment. If you can recall what type of zone equipment that might have been it would help me track this down.

Kyle Benne gravatar image Kyle Benne  ( 2015-05-18 08:48:31 -0600 )edit