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

Intermediate product unexpected listed as an input #29

Open
trainvoi opened this issue Apr 22, 2024 · 2 comments
Open

Intermediate product unexpected listed as an input #29

trainvoi opened this issue Apr 22, 2024 · 2 comments

Comments

@trainvoi
Copy link

image

- m: pyrolyse oven
  tier: MV
  I:
    coal dust: 16
  O:
    coke dust: 12
    coal tar: 2500
    coal gas: 2500
  eut: 60
  dur: 16  
  coils: nichrome
  number: 1
  #target:
     #coke dust: 12
- m: centrifuge
  tier: LV
  I:
    coal gas: 10000
    '[coal gas processing] water': 1000
  O:
    syngas: 10000
    ammonia solution: 1000
  eut: 30
  dur: 6
  group: coal gas processing

- m: distillation tower
  tier: MV
  I:
    coal tar: 1000
  O:
    bitumen: 0.5
    anthracene oil: 100
    naphthalene oil: 100
    creosote: 450
    coal tar oil: 350
  eut: 48
  dur: 10

#anthracene oil processing
- m: mixer
  tier: LV
  I:
    sulfuric acid: 100
    anthracene oil: 1000
  O:
    acidic anthracene oil: 1000
  eut: 30
  dur: 6
  group: anthracene oil processing
- m: centrifuge
  tier: LV
  I:
    ethylene glycol: 75
    acidic anthracene oil: 1000
  O:
    anthracene extract: 750
    crude quinolinium sulfate: 250
  eut: 30
  dur: 6
  group: anthracene oil processing
- m: distillation tower
  tier: MV
  I:
    anthracene extract: 1000
  O:
    anthracene dust: 0.8
    ethylene glycol: 100
    coal tar oil: 200
  eut: 48
  dur: 10
  group: anthracene oil processing
- m: cstr
  tier: LV
  I:
    ammonia: 100    
    crude quinolinium sulfate: 50
  O:
    impure quinoline: 50
  eut: 30
  dur: 0.05
  group: anthracene oil processing
- m: distillation tower
  tier: MV
  I:
    impure quinoline: 1000
  O:
    ammonium sulfate dust: 15
    quinoline: 800
    naphthalene oil: 200
  eut: 48
  dur: 10
  group: anthracene oil processing
  
#ammonium sulfate recycling
- m: roaster
  tier: LV
  I:
    ammonium sulfate dust: 15
  O:
    ammonium bisulfate dust: 11
    '[tar processing] ammonia': 1000
  eut: 30
  dur: 8
  group: ammonium sulfate recycling
- m: extractor
  tier: LV
  I:
    ammonium bisulfate dust: 1
  O:
    liquid ammonium bisulfate: 144
  eut: 30
  dur: 0.5
  group: ammonium sulfate recycling
- m: electrolyzer
  tier: LV
  I:
    liquid ammonium bisulfate: 1584
  O:
    '[tar processing] ammonia': 1000
    '[tar processing] sulfuric acid': 1000
  eut: 30
  dur: 0.5
  group: ammonium sulfate recycling

#naphthalene oil processing
- m: centrifuge
  tier: LV
  I:
    sodium hydroxide solution: 100
    naphthalene oil: 1000
  O:
    creosote: 100
    alkaline naphthalene oil: 1000
  eut: 30
  dur: 6
  group: naphthalene oil processing
- m: centrifuge
  tier: LV
  I:
    sulfuric acid: 100
    alkaline naphthalene oil: 1000
  O:
    sodium sulfate solution: 100
    purified naphthalene oil: 1000
  eut: 30
  dur: 6
  group: naphthalene oil processing
- m: distillery
  tier: LV
  I:
    sodium sulfate solution: 1000
  O:
    sodium sulfate dust: 7
    water: 1000
  eut: 30
  dur: 10
  group: naphthalene oil processing
- m: distillation tower
  tier: MV
  I:
    purified naphthalene oil: 1000
  O:
    anthracene oil: 100
    naphthalene: 800
    coal tar oil: 100
  eut: 48
  dur: 10
  group: naphthalene oil processing

#coal tar oil processing
- m: mixer
  tier: LV
  I:
    sulfuric acid: 100
    coal tar oil: 1000
  O:
    acidic coal tar oil: 1000
  eut: 30
  dur: 6
  group: coal tar oil processing
- m: centrifuge
  tier: LV
  I:
    furfural: 75
    acidic coal tar oil: 1000
  O:
    b.t.e.x. extract: 750
    crude pyridinium sulfate: 1000
  eut: 30
  dur: 6
  group: coal tar oil processing
- m: cstr
  tier: LV
  I:
    ammonia: 100    
    crude pyridinium sulfate: 50
  O:
    impure pyridine: 50
  eut: 30
  dur: 0.05
  group: coal tar oil processing
- m: distillation tower
  tier: MV
  I:
    impure pyridine: 1000
  O:
    ammonium sulfate dust: 15
    aniline: 250
    pyridine: 750
  eut: 48
  dur: 10
  group: coal tar oil processing

#btex processing
- m: centrifuge
  tier: LV
  I:
    steam: 1000
    b.t.e.x. extract: 1000
  O:
    b.t.e.x.: 1000
    furfural: 100
  eut: 30
  dur: 5
  group: btex processing
- m: distillation tower
  tier: LV
  I:
    b.t.e.x.: 1000
  O:
    xylene mixture: 400
    ethylbenzene: 50
    toluene: 400
    benzene.: 150
  eut: 30
  dur: 5
  group: btex processing
  
@trainvoi
Copy link
Author

Expected behavior: Coal Dust, Water, Sodium Hydroxide Solution, and Steam are the only inputs.

Actual behavior: Aside from Coal Dust, Water, Sodium Hydroxide Solution, and Steam, Anthracene Oil (an intermediate product produced from processing Coal Dust) appears as an outside input.

@joegnis
Copy link

joegnis commented Apr 26, 2024

That is probably because you have two machines that output Anthracene Oil, which confuses the program.

One fix is to direct one's output to sink. But actual fix depends on your design.

# example
- m: distillation tower
  tier: MV
  I:
    purified naphthalene oil: 1000
  O:
    '[sink] anthracene oil': 100
    naphthalene: 800
    coal tar oil: 100
  eut: 48
  dur: 10
  group: naphthalene oil processing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants