Grasshopper

algorithmic modeling for Rhino

Hi all,

i am trying for the first time to use this new updated version of HoneyBee and LadyBug with the openstudio component for running energy simulations and i have got this error:

1. Solution exception:The type initializer for 'OpenStudio.OpenStudioModelCorePINVOKE' threw an exception.

Some of you have any idea??

I thought it was a problem of updating the components but i think that all the components are updated (some of them were manually updated).

Can someone help me?

I have attached the gh and rhino files also

Thanks a lot in advance

Claudia

Views: 2085

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

Hi Claudia, Have you been using OpenStudio with no issues before? This is an OpenStudio issue and we can't do much about it. Read this discussion for a similar issue: http://www.grasshopper3d.com/group/ladybug/forum/topics/cannot-expo...

Claudia,

As the discussion Mostapha posted suggests, make sure that you are using the most recent version of OpenStudio.  If you are, then I am sorry that you are one of the few out of 100 users who experience this OpenStudio error.  Hopefully, this will be fixed soon.  There's also more info on the bug here:

https://github.com/mostaphaRoudsari/Honeybee/issues/214

-Chris

Just for the record, I have also been experiencing the same error. I have updated my version of HB and LB to the most recent version and have installed OpenStudio 1.14.0. I have restarted my computer and none of these things seems to have solved the problem.

Hi Nick, Have you also tried OpenStudio 2.0? We hope OpenStudio 2.0 to address this issue. The libraries and the dependencies are much cleaner now and should hopefully address this issue.

Nick,

Mostapha summed it up. Dan Macumber of OpenStudio team believes that the new OpenStudio 2.0 should nip this issue in the bud and we've tested it a bit as you can see on this issue:

https://github.com/NREL/OpenStudio/issues/2371

You can download a pre-release of OpenStudio from the OpenStudio github here:

https://github.com/NREL/OpenStudio/releases/tag/v2.0.0

Keep us posted if it test it out and let us know if it fixes your issue.

-Chris

There is caveat here. OpenStudio 2 by default installs openstudio 2.0 under program files(x86) and with a different naming style. If you want Honeybee to find it then you should replace the libraries manually (copy them to 1.14).

I

Nick,

I have realized that there are issues with the EnergyPlus translators in OpenStudio 2.0.0 but these should hopefully be fixed in the next OpenStudio release:

https://github.com/NREL/OpenStudio/issues/2426

Until this gets fixed, you are probably still going to have PINVOKE issues.  Keep your eyes peeled for the next OpenStudio release and this should hopefully address the problem.

-Chris

Chris,

I have installed the newest version of OpenStudio and am still having the same problem. Have there been any recent measures to fix the problem?

Thanks,

Nick

Hi Nick,

Honeybee now supports OpenStudio 2.x.  So you should update your honeybee components, download the latest stable release of OpenStudio:

https://github.com/NREL/OpenStudio/releases/tag/v2.1.0

...and install it in the default location (off of the C:\ drive). Then you should be all set.

-Chris

Chris,

Despite trying all of your suggestions, I am still having issues with the OpenStudio.OpenStudioModelCorePINVOKE error. Is this something that is wrong with my computer, rather than the software? I am looking for a reason to have my company upgrade my laptop, so if you have any suggestions I'd be very open to them.

Thanks,

Nick

Hi Nikc, The error is a dependency issue. If you have all the dependencies installed and unblocked it should go away. Take a look at this discussion.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service