microsoft / bonsai-anylogic Goto Github PK
View Code? Open in Web Editor NEWAnyLogic connector for Microsoft Bonsai and sample models
License: Other
AnyLogic connector for Microsoft Bonsai and sample models
License: Other
Hello,
I have updated the AnyLogic software to 8.7.12, and it seems that the connecter needs to be updated as well. I tried downgrading AnyLogic to 8.7.11 but I couldn't open my models because they were saved by the newer version. I tried to edit the .alp file and change the model number as a temporary fix, but it didn't work out for me.
It would be helpful to have a README.md file in the root of this repository in order to help new users understand its purpose, give an overview of usage, and link to the samples.
Hi,
I have a model which is working locally with 1.1.0 of the connector. I am trying to upload the model to an anylogic private cloud and I have been getting a consistent error with this version. ClassDefNotFound: org/eclipse/jetty/client/api/ContentProvider. It happens immediately when the connector is loaded into the model
Do you have any idea why this occurs or what could fix it?
title : Invalid state data message product-delivery.ink - bonsai-anylogic/samples/product-delivery/product-delivery.ink
error message :
Invalid state data: { overall_average_turnaround: 4000000.0 }
Previous state: { Nashville_util_trucks: 0.0, Nashville_production_rate: 65.0, Pittsburg_cost_per_product: -1.0, Nashville_cost_per_product: -1.0, ... }
Previous action: { Chicago_is_open: 0.0, Pittsburg_is_open: 0.0, Nashville_is_open: 0.0, Chicago_num_trucks: 2.0, ... }
symptom : train fail
solution :
replaced ink file value
from
overall_average_turnaround: number<-1 .. 500>,
to
overall_average_turnaround: number<-1 .. 4000000>,
then training fine.
Hi team.
It's my first time using bonsai + anylogic.
I trying to find "AnimatedExperiment" and run button could not find it.
Where is this interface in Bonsai workspace?
With "AnimatedExperiment" it seems could check more visualized result I think.
such like a
But I could not find any of it in Bonsai workspace.
Running the Model
To run the model, right click on AnimatedExperiment then click the Run button. You will see text in the console about registering with the Bonsai platform. Once registration is complete (it will only take a few seconds), go back to the Bonsai UI where you created your brain.
After I key in the Bonsai Workspace and Access Key, I have the following error:
com.anylogic.rl.connector.bonsai.SimulatorSession startSession
SEVERE: Didn't register.
I'm out of idea about it, as I double check my Id and access key are correct.
I have tried the workspace ID without "-"/dash as well.
After importing into Anylogic, I have error below:
Description: Unresolved reference: com.anylogic.rl.libraries.bonsai. Location: Activity Based Costing Analysis (Bonsai) - Model
title : Invalid state data message train fail - bonsai-anylogic/samples/abca/abca.ink
error message :
Invalid state data: { ratioCostIdleA: 14.58308549210427, ratioCostIdleB: 19.596514081071703, ratioCostProcessing: 108.86659628737631 }
Previous state: { recentNProducts: 0.0, nResA: 20.0, utilResA: 0.0, nResB: 20.0, ... }
Previous action: { nResA: 9.0, nResB: 11.0, processTime: 1.0, conveyorSpeed: 0.42 }
7/31 3:06 PM: The state value received from simulator id 139746536 contains one or more values that do not match the constraints defined in Inkling. This episode will be terminated. This may be due to a bug in your simulator or Inkling code.
Symptom : train fail
resolution : replace ink file variable definition. (it first time to change ink file to me. not sure that is variable or not)
ink file line 24~28
ratioCostIdleA: number<0 .. 1000>,
ratioCostIdleB: number<0 .. 1000>,
ratioCostWaiting: number<0 .. 1000>,
ratioCostProcessing: number<0 .. 1000>,
ratioCostMoving: number<0 .. 1000>,
then training working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.