Posted by Jason Lillywhite
If you have some flow of material or a transaction and need to divide it up or allocate it, likely you will use the Allocator or Splitter element in GoldSim. While these elements are very powerful and make the job a lot easier, there is one condition for which it was not specifically built: handling an array of input amounts. To address this, we have added some nice examples to our library that allow you to simulate allocations and splits on arrays of data. These examples provide an easy way to build powerful models that might have otherwise been quite difficult to build and maintain. I tested the array splitter example model using a real-world example that simulates rainfall runoff in a new stormwater management system, and this is described in this post.
Showing posts with label script. Show all posts
Showing posts with label script. Show all posts
July 14, 2015
May 27, 2015
Playing Mastermind with GoldSim
Posted by Ryan Roper
This last weekend, I went into nerd mode and created a GoldSim version of the classic game Mastermind. If you're not familiar with Mastermind, here's the Wikipedia article about it: Mastermind (board game). According to the article, "Mastermind...is a code-breaking game for two players. The modern game with pegs was invented in 1970 by Mordecai Meirowitz, an Israeli postmaster and telecommunications expert. It resembles an earlier pencil and paper game called Bulls and Cows that may date back a century or more." I play this game with my kids and it often leaves me musing about what kind of strategy or algorithm I might devise to more systematically make guesses to solve the code. This musing usually lasts about 5 or 10 minutes before I decide it's not worth my time and I go on with my life. However, recently I thought it would be a fun and interesting exercise to create a GoldSim version of Mastermind.
Subscribe to:
Posts (Atom)