-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from faweigend/add_two_com
Add two com
- Loading branch information
Showing
30 changed files
with
2,674 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import logging | ||
|
||
from threecomphyd.agents.two_comp_hyd_agent import TwoCompHydAgent | ||
from threecomphyd.animator.two_comp_hyd_animation import TwoCompHydAnimation | ||
|
||
if __name__ == "__main__": | ||
# set logging level to highest level | ||
logging.basicConfig(level=logging.INFO, | ||
format="%(asctime)s %(levelname)-5s %(name)s - %(message)s. [file=%(filename)s:%(lineno)d]") | ||
|
||
# create two component hydraulic agent with example configuration | ||
agent = TwoCompHydAgent(an=28000, cp=240, phi=0.5, psi=0.4, hz=10) | ||
|
||
# run the interactive animation | ||
ani = TwoCompHydAnimation(agent) | ||
ani.run() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[metadata] | ||
name = threecomphyd | ||
version = 1.1.1 | ||
version = 1.2.0 | ||
author = Fabian Weigend | ||
author_email = [email protected] | ||
description = Implementation of the generalized Three Component Hydraulic Model | ||
description = Implementation of a generalized Hydraulic Model and a fitting algorithm | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/faweigend/three_comp_hyd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.