Now we will define constants of our model. In AnyLogic you define a constant by creating a parameter.Define a constant representing total population
The rate, with which potential adopters come into contact with adopters, is assumed to be constant. So, we will define a constant to represent contact rate.
In this model the volume of advertising and the probability that a potential adopter will adopt as the result of exposure to a given amount of advertising are assumed to be constant each period. So, we will add a constant to model the advertising effectiveness—the fractional adoption rate from advertising.Define a constant representing advertising effectiveness
Define one more constant to specify the adoption fraction—the proportion of contacts that are sufficiently persuasive to induce the potential adopter to purchase the product.
Step 3. Adding adoption flow
Step 5. Defining initial values of stocks