asfmm

command module
v0.0.0-...-d5f374a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2026 License: GPL-3.0, GPL-3.0-or-later Imports: 9 Imported by: 0

README

African Swine Fever Management Model (asfmm)

Work in progress on the African Swine Fever (ASF) Management Model in Go using the Ark Entity Component System (ECS).

This will be an Ark implementation of a spatially explicit, stochastic simulation framework for modeling ASF transmission and evaluating control strategies in domestic pig herds.

The initial implementation process is based on the Classical Swine Fever Management Model CSFMM, developed by Hans-Hermann Thulke, Dirk Eisinger and Martin Beer.

Usage

To get started:

  1. Install Go:

    Ensure that you have Go installed on your system. You can download it from the official Go website.

  2. Clone the Repository:

    Open your terminal and clone the repository by executing the following command:

    git clone https://git.ufz.de/ecoepi/asfmm
    
  3. Run modell

    Navigate to the cloned repository folder and run the model by entering:

    go run .
    

    This will run the model with a default parameterization.

State of Development and Current Features

  • The model distributes Finisher, Sow and Piglet herds within a square area
  • a map visualization shows the locations of the herds within the area (Finisher: white, Sow: cyan, Piglet: blue)

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

  • main.go

Directories

Path Synopsis
Package comps provides all ECS components for the simulations
Package comps provides all ECS components for the simulations
Package globals provides global variables for the simulation
Package globals provides global variables for the simulation
Package obs provides observers for extracting data from the model.
Package obs provides observers for extracting data from the model.
Package params provides a set of default parameters for the simulation.
Package params provides a set of default parameters for the simulation.
Package sys provides all ECS systems (sub-models) for the model.
Package sys provides all ECS systems (sub-models) for the model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL