Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
Tyler 159ea5a92f
Product Delivery Overhaul (#21)
* PD overhaul

* Reorganize libs

* Update images

- Rename/retook screenshot of sim
- Removed unused images

* Update brain-single_concept.ink

* Update README.md

* Include "story" PDF
2022-12-23 14:14:02 -05:00
Tyler 8a7b811bbc
Fixes and comment updates to ABCA model and Inkling (#9)
* Remove unused parameters

A previous commit disconnected bonsai-related parameters from the Connector but mistakenly did not delete them from the model (they appear in the experiment properties, as if still functional)

* Improve comments & code

- Remove unused code

- Add small workaround code for locally hosted sims

- Add/edit clarifying comments

* Remove stop options from sim

Stop/terminal conditions offset entirely to Inkling, as current AnyLogic integration does not support this (may cause training issues for users who are experimenting)

* Clean/fix inkling

- Improve comments: removed an inaccuracy (reference to some nonexistent "ModelAction" class), consistency of where they're written, clarified purposes
- Replace 'Action' type with 'SimAction' type (the latter was previously unused)
- Remove unused "Math" import

* Update README.md

- Removed a sentence only applicable to the original simulation model
- Replaced explanations about the old, "wrapper" workflow with the new RL experiment workflow
- Updated explanations about how to perform local assessments
- Updated sample inkling based on previous commit
- Added more detailed instructions
- Clarified various parts
- Cleaned some grammar

* Update exported.zip

Exported with the latest changes

* Minor comment updates

* Update README.md

- Manually merge some phrases made by @mzat-msft, adjusting slightly for grammar
- Reapply line width
2022-02-23 17:23:07 -05:00
David Coe dc70d307d8 moving deprecated to another branch 2022-02-23 09:32:47 -05:00
Tyler ce781065ed
Connector update 1.1.0 (#17)
* Update connector library

* Update BonsaiLibrary.jar

Update control type in some properties of the connector
2022-02-23 09:31:18 -05:00
Marco Zatta 3962d178f4
Update registering instruction of ABCA sample with Bonsai (#16)
* Clarify instructions for registering sim with Bonsai

* Limit linewidth to ease readability as plaintext
2022-01-14 10:58:08 -05:00
Forrest Trepte 197e6ee001
Merge pull request #11 from ForrestTrepte/license-info
license update to note exception of sample model zip files
2021-09-17 17:24:49 -07:00
Forrest Trepte d5935f0186 license update to note exception of sample model zip files 2021-09-17 17:23:57 -07:00
David Coe 580b79e78e updating EULA 2021-09-15 14:11:04 -04:00
Tyler fbd02f0ebd
Clean PD model and inkling (#10)
* Rename file/model

* Remove debugging experiments

These were used in the model-exploration stage of bonsai integration to find the ranges of added elements (namely the "rolling" stats) and to gauge how well a static optimization would perform.
None are relevant to the distributable model.

* Remove unused objects

These objects were used during initial testing for brain integration, but not incorporated in the end.
This includes parameters for initial MC state (reverted to their default values) and statistical elements (cumulative data tracking; replaced with rolling data).

* Replace cost parameters with constant variables

Cost values were only intended to be configurable when first adding the 'cost' component to the model.

* Update experiment screens

- Update RL-related parameters to hide themselves in the experiments when not relevant
- Remove unused control elements in OriginalSimulation
- Add relevant controls in OriginalSimulation and PlaybackSimulation
- Add explanatory text in each experiment
- Fix model description in OriginalSimulation
- Fix titles in PlaybackSimulation and TrainingSimulation

* Clean up model

- Rename some variables
- Remove unused code
- Rearrange objects
- Resize some shapes

* Fix bug in initialization

Due to removed parameters in earlier commit, MCs were being initialized to their default values for vehicles/prod. rate (both 0), causing inkling errors.

* Remove now-unused configuration variables

* Simplify inkling reward functions

- Made the reward functions for "turnaround" and "utilization" generic, consolidating a total of 7 functions into 2.
- Reorganized some function logic for clarity and conciseness.

* Remove inkling's time-based constraints in observation

- Constraints were assuming model would always run for ~30 days. However, since constraints still are enforced in exported brains, this artificially limited how long models could be run in playback.
- Time was removed from observable, as it doesn't factor into the logic

Testing showed removing these had a positive impact (comparing final mean scores: 4.23 vs 6.70)

* Correct types in inkling

Some type declarations were different for the same element; chosen types were set based on how they're used in the model - "open" = nominal (boolean), "trucks" = discrete (int), "rate" = continuous (float).

Testing showed this had a negligible effect on brain performance.

* Rename variables in sim/inkling

Trucks -> Vehicles
- Both were used interchangeably; kept with the original model's usage of "vehicles"

Open -> Accepting
- More accurate terminology (e.g., non-accepting MCs still process orders internally, which "non-open" would imply otherwise)

* Condense RL spaces using arrays

This makes code simpler and more compact.

Also renamed some variables to better indicate what it reflects and to include time units.

* Add comments to inkling

Mostly used previous comments; added some new ones

* Minor fixes + export model

- Grammar fix in inkling
- Fix sliders in sim
2021-09-15 14:02:39 -04:00
davidhcoe 59245373df Merge branch 'master' of https://github.com/microsoft/bonsai-anylogic 2021-04-23 09:14:35 -04:00
davidhcoe 5fd030c86f adding PD export 2021-04-23 09:14:23 -04:00
davidhcoe 059576cc8d
Abca updates (#8)
* fixing ABCA model for the variables

* remove package statement
2021-04-22 12:56:47 -04:00
davidhcoe 2dde2b0840
move PD to master (#7)
* updated product delivery

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* adding latest files

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* updated files

* Remove ignored files

* Remove ignored files

Co-authored-by: amhjf <61473760+amhjf@users.noreply.github.com>
2021-04-22 12:50:43 -04:00
unknown 14ffa0f8be updating example 2020-12-17 04:42:37 +00:00
davidcoe e35f1e1b02 updating model 2020-12-04 15:18:15 +00:00
davidcoe 9f9887fc9a update abca inkling 2020-12-04 14:28:41 +00:00
davidcoe ea713fa763 restructure folders 2020-12-04 06:37:13 +00:00
davidcoe 1523c72740 8.7 updates 2020-12-04 05:20:04 +00:00
davidhcoe 23705c34d0
Connector update (#6)
* ABCA updates, including writeup

* update exported model

* adding docker support for SAs

* adding docker for SAs

* dockerfile

* Delete dockerfile

Co-authored-by: unknown <davidhcoe@msn.com>
2020-11-06 00:31:56 +00:00
davidhcoe 91f900971c
Rename dockerfile to Dockerfile 2020-10-24 20:42:33 -04:00
davidhcoe 0c00e39f08
Create dockerfile 2020-10-20 17:12:37 -04:00
davidhcoe 3d5efbe5f1
Delete dockerfile 2020-10-20 17:12:15 -04:00
davidhcoe 0973be4669
Create dockerfile (#5) 2020-10-20 17:11:35 -04:00
davidhcoe 2186216e41
Update abca.ink
Remove state ranges
2020-09-06 20:42:05 -04:00
davidhcoe 7b37549051
ABCA updates, including writeup (#1)
* ABCA updates, including writeup

* update exported model

Co-authored-by: unknown <davidhcoe@msn.com>
2020-07-14 23:09:54 -04:00
Evan Kramer 3d5aa05ce2 Merged PR 8985: Add license and open source terms to subrepos
Add license and open source terms to subrepos
2020-05-19 14:26:13 -07:00
Evan Kramer 474440c7d3 Merged PR 8992: Add copyright headers to sample files
Add copyright headers to sample files
2020-05-19 14:26:13 -07:00
Evan Kramer 4ee777a866 Merged PR 8981: Sync anylogic Github subrepo
git subrepo push src/sdk3/anylogic/public

subrepo:
  subdir:   "src/sdk3/anylogic/public"
  merged:   "1b28296873"
upstream:
  origin:   "git@github.com:BonsaiAI/bonsai-anylogic.git"
  branch:   "master"
  commit:   "1b28296873"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-05-19 14:26:12 -07:00
Howard Nager 36c7ce931f Merged PR 8970: Updated TODOs. Added tasks. 2020-05-19 14:26:12 -07:00
David Coe 1b28296873 Merged PR 8969: anylogic package 2
anylogic package
2020-05-18 20:59:28 -07:00
David Coe aaae287b51 Merged PR 8938: example restructuring 2020-05-18 20:59:25 -07:00
David Coe bda36db12f Merged PR 8787: sample updates 2020-05-18 20:59:12 -07:00
David Coe f812f62fbc Merged PR 8763: renaming readme to README 2020-05-18 20:59:10 -07:00
Evan Kramer 5648a0f235 Merged PR 8745: Update AnyLogic GitHub subrepo 2020-05-18 20:59:08 -07:00
Howard Nager a709a6985e Merged PR 8743: Optionally disaplay a warning message in the select sim dialog 2020-05-18 20:59:08 -07:00
David Coe 966e31dd5f Merged PR 8739: updating readmes, moab fixes 2020-05-14 07:37:13 -07:00
Evan Kramer c44167b8d5 Merged PR 8692: Prepare anylogic directory structure for GitHub
Prepare anylogic directory structure for GitHub
2020-05-13 04:05:00 +00:00