In the next post we'll discuss the advanced features of the library. We have covered all of the blocks of Fluid Library. They act like a fuel source, so their Exit block is connected to Enter blocks at Main, which forwards fuel from tanker to Tank with the respective fuel type. There is also a little peak in adopter activity before the New Year holiday. The peak of the demand is in summer while in winter the product is in little demand. Actually it changes in a complex way since the demand on our product follows the cycle of the seasons. The same feature is used for the simulation of arriving tankers. The adoption fraction in our model is constant each period. In the model, the On dispense completed action disconnects the dispenser Exit, and the car leaves the station. Both opening and closing events are scheduled, so the modeler can perform actions here. The Valve block dispenses a certain amount of fuel and then closes itself. This feature is used in the model when an incoming car connects its Enter block with the Exit block of the dispenser and opens the valve. A modeler can switch the Enter block at model run, allowing it to disconnect an Exit block from one Enter and connect it to another Enter (or remain nonconnected). The Exit block forwards the flow to a specified Enter block (like a connector). The embedded Split4 block ensures that each dispenser get its portion of fuel, splitting the flow among four pipelines equally. Each dispenser has an Exit for fuel type respectively, and shares one tank per fuel type. For more information, see This model is built with the AnyLogic Process Modeling Library. It has three Enter blocks and twelve embedded Exit blocks. This is a reference model from Anylogic Documentation. So, the main fluid flowchart represents the gas station. Every bank tends to forecast the financial result and its fluctuations depending on some managerial decisions, such as the increase of a loan portfolio due to decrease of the loan interest rate. FINANCIAL RESULTS AND BANK KPI FORECASTING. We have three different fluid flowcharts and two process flowcharts that manage fluid flowcharts from an action code. The structure of the subsidiaries’ reserved money is formed at the output of the model. Sometimes the gasoline tanker arrives to refill the tanks.
The gas station serves cars, which have three fuel types.
We will use AnyLogic Rail Library in this tutorial to build a model of a hump yard. The gas station example model illustrates this concept. Rail Library is well integrated with Process Modeling Library and Pedestrian Library, which means you can combine rail models with models of trucks, cranes, ships, passenger flows, manufacturing or business processes, and so on. Having completed this tutorial you should be able to build various multi‐method models with more confidence and efficiency.The Fluid Library allows advanced routing with Enter and Exit blocks, similar to the Process Modeling Library. We will highlight the “points of interaction” of agents and system dynamics and try to show that model elements belonging to different approaches live a single space of AnyLogic model and can easily access each other. The goal of this tutorial is to show step‐by‐step how to build a combined AB+SD model in AnyLogic using one particular architecture. The choice of model architecture (how to partition the model into components, what to aggregate, which granularity to use, what behavior is best mapped to a process diagram, and what – to a statechart, etc) belongs mainly to the domain of art and intuition of the modeler and is outside the scope of this short tutorial. Any kind of mixed architecture is possible due to flexible object‐oriented AnyLogic modeling language. Moreover, you can combine different methods in one model: put agents into an environment whose dynamics is defined in SD style, use process diagrams or SD to define internals of agents, etc, etc. AnyLogic allows you to build a simulation model using multiple methods: System Dynamics, Agent Based and Discrete Event (Process‐centric) modeling.