Skip to content

Commit

Permalink
mior update logger floe rate adjuster (#1035)
Browse files Browse the repository at this point in the history
* mior update logger floe rate adjuster

* minor updates
  • Loading branch information
EvenSol committed Jun 24, 2024
1 parent d30923d commit 312793d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public FlowInducedVibrationAnalyser(PipeBeggsAndBrills pipe) {
* object
*/
public FlowInducedVibrationAnalyser(String name, PipeBeggsAndBrills pipe) {
super(name, "pipe");
super(name, pipe.getName() + " FIV analyser");
this.pipe = pipe;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/
public class FlowRateAdjuster extends TwoPortEquipment {
private static final long serialVersionUID = 1000;
static Logger logger = LogManager.getLogger(Adjuster.class);
static Logger logger = LogManager.getLogger(FlowRateAdjuster.class);

String name = "Flow Rate Adjuster";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void testSetUnit() {
FlowRateAdjuster flowRateAdj = new FlowRateAdjuster("Flow rate adjuster", stream_1);
flowRateAdj.setAdjustedFlowRates(gas_flow_rate, oil_flow_rate, water_flow_rate, "Sm3/hr");

PipeBeggsAndBrills pipe = new PipeBeggsAndBrills(flowRateAdj.getOutStream());
PipeBeggsAndBrills pipe = new PipeBeggsAndBrills("pipe1 ", flowRateAdj.getOutletStream());
pipe.setPipeWallRoughness(1e-6);
pipe.setLength(25);
pipe.setElevation(0.0);
Expand Down

0 comments on commit 312793d

Please sign in to comment.