Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource handling #21

Open
3 of 4 tasks
pbayer opened this issue Mar 19, 2020 · 6 comments
Open
3 of 4 tasks

Resource handling #21

pbayer opened this issue Mar 19, 2020 · 6 comments
Labels
enhancement New feature or request
Milestone

Comments

@pbayer
Copy link
Collaborator

pbayer commented Mar 19, 2020

Implement resource handling

  • basic resource type
  • add container
  • example
  • documentation
@pbayer pbayer added the enhancement New feature or request label Mar 19, 2020
@pbayer pbayer added this to the release 0.3 milestone Mar 19, 2020
@pbayer
Copy link
Collaborator Author

pbayer commented Aug 19, 2020

The resources for now remain a stub.

I'll continue to work on them after releasing 0.3.

@hdavid16
Copy link
Member

Can you elaborate on what you mean by add container?

@pbayer
Copy link
Collaborator Author

pbayer commented May 3, 2023

I guess I meant a type of continuous resource, something like a fuel tank that is filled with one type of fuel and from which defined quantities are taken until it is empty.

This is a common case. It justifies another type of resource that is operated slightly differently. For example, we need warning thresholds for the filling status and events that can be triggered if they are fallen short of or exceeded.

@pbayer
Copy link
Collaborator Author

pbayer commented May 3, 2023

At the moment I cannot rule out that there might be other basic types of resources that should be modelled.

We could look at what is common in other simulation packages.

@hdavid16
Copy link
Member

hdavid16 commented May 3, 2023

Ok. I see this is line the inventory control problem in the examples. So do you think we need to define a container resource for users or just have them define their own resource struct?

@pbayer
Copy link
Collaborator Author

pbayer commented May 5, 2023

In Julia it is relatively easy to define resources and to then use them in simulations. What therefore is the point to provide a library for resources in DiscreteEvents?

I think, the main point is convenience and ease of use. Therefore if developing a resource handling library, we should try to cover the most common cases of resources and their use and at the same time provide an interface for users to enhance them for their needs and applications.

@pbayer pbayer modified the milestones: release 0.3, 0.5 Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants