Previously, our heroes succedded in getting rid of the mutated giant squid that attacked the Gallian Pipe which the two men were using to descend down to Articus.
They cheered in joy as the black hawk(The giant squid) was down and out after a tremendous electro-shock.
Now, since the Gallian pipe was detached from the entrance of the Articus base, it needed them to create similar atmosphere under which the entrance of the base opens up on recieving the appropriate matches from the elevator.
Our heroes equipped with a BubbleCommander device, BubbleMarine,a few weapons and last but
not the least a reasonable grip in codes and program compilation.
Edwards pointed out that the gateway of Articus base will only open if it meet four mandatory conditions namely pressure exerted by gallian connectivity, temperature generated by the descend of gallian elevator, the electric maintainence and acknowledgement signals.
Victor: Hey Jason, heads up. Do remember that you have only fifteen minutes of power in your BubbleMarine and a trifle reserve backup of only ten minutes or so. Try and accomplish coding compilation within the stipulated time with a urgent sense of emergency.
Jason: Edwards and I shall do the necessary bit. I hope what I have learned in my past days come to my rescue.
Edwards: Yeah, or else we are doomed.
Victor: Keep your cool guys, Jason please proceed with main program procedures.
I know Edwards is good at debugging and I am sure he will be of great help to you Jason.
Jason: My goodness, realise this Victor compiling and coding while in water is not as easy
as it would have been sitting in an air-conditioned cabin.The hydro pressure is tremendous here. I fear I might catch an ache.
Victor: Relax Jason. Please mark my words carefully.
Firstly, you need to code for pressure exertion.The Gallian pipe connector to the Articus Base uses a special sensor that will sense the exact pressure needed to detect a Gallian incoming connection. Since the Gallian pipe is damaged, connecting the damaged Gallian pipe will do no good.It needs to be repaired.The Gallian pipe
runs internally through a G-Nxt language.We need to repair the pipe's backbone structure first.
Jason: Yes, I have actually worked on G-Nxt. It's not so simple but I am willing to drive into complexity.
Victor: I am forwarding the G-Nxt code for automated gallian repair.
Victor forwarded the code to the BubbleCommander device.
The code is as follows.
--Initialise
Procedure Gallian Repair()
Mode:=Automatic
detection var_damage:= Error when structure damage response is TRUE
step_function:= impulse function within step.Range(min(pot.diff) : max(pot.diff))
detection var_power:= Error when structure pot.diff > step function
setup auto repair
call standard function REPAIR
END
go to INDEX
Victor: This code is just for handling structural damage to the Gallian and not meant for handling multiple damage. You need to maintain proper current flow through the pipe and hence utilise the condition for potential difference wisely.
Jason: I understood Victor. Thanks for assistance.Please reply if the standard call function
'REPAIR' is functioning properly.
Victor: Yes, it is functioning properly. Please note that the basic framework of the Gallian pipe are building blocks called GCells. Generally we detect points of error within the Gallian structure by writing procedure for detecting errors from the first GCell to the last one. I hope this helps you.
Jason: It sure will.Edwards, have a nice look on this code.Suggest me some modifications to
address our needs.
Edwards: The code is endowed with deep complexity.I think this is scripted in version.2 of G-Nxt language.Let me restructure the code for you.
Edwards started compiling.
--Initialise
declare last_counter:=max(GCell)
points array_list%Type
Procedure Gallian Repair()
Mode:=Manual
loop through and repeat
from i=GCell[1] to GCell(last_counter)
detection var_damage:= Error when structure damage response is TRUE
select detection var_damage into points
print.output(points)
setup auto repair where GCell in points
call standard function REPAIR
END
Execute block in Indexed mode
RUN;
When Edwards triggered the above compilation, the code started running and listed out all the GCells that were attacked by the Squid's violent ambush.
Jason: I think the auto REPAIR procedure has done wonders repaired all those GCells which were severely damaged.Now the next challenge is to build a potential
difference which allows step uniform current flow throughout the structure.
Edwards: I think I know what is to be done. The power flow in the Gallian cell is such that between any two GCells the difference in potential is constant.
Hence the distribution of potential through the cell will not be a herculean task.
If the number of GCells is 'x' and potential in first is 'k', then at the xth GCell it will be 'xk'.
Edwards quickly composed a code.
--initialise
declare last_counter:=max(GCell)
Applied.potential=min(GCell.Power.Rating)
procedure uniform_power_distribution()
for i = GCell[i] to GCell(last_counter)
set GCell[i].pot.value=Applied.potential
Applied.potential=Applied.potential+Applied.potential
end looping
Begin
if max(GCell)*min(GCell.Power.Rating)=Applied.potential Then
GCell(last_counter):=Applied.potential
Else EXECUTE procedure uniform_power_distribution AGAIN
END
Execute block in Indexed mode
RUN;
When Edwards ran this code the potential started distributing itself in an uniform manner across the GCells.
Victor: I checked the potential at the last GCell and the power absorbed at the initial GCell at my base. The potential at last GCell is exactly what it should have been. I shall now connect the end point of the Gallian pipe to the entrance of the Articus base.
Victor slowly increased the strength of the current through the Gallian pipe but only within its walls so that the increased current strength do not shock the two men.
As the water was less salty current conduction was very low.Now due to the heating effect of the current send, the temperature at the base of the Articus rose and soon it reached the temperature required at that junction. Victor conveyed that they had achieved three conditions. Both Jason and Edwards was delighted.
Now Jason and Edwards entered into the Gallian elevator through the emergency exit.
Jason: Now how do we increase the pressure at the base of Articus entrance?
Victor: The elevator have mechanical pegs. On triggering a command it will start bombarding the entrance base of Articus and hence increase pressure.But it should be noted that the entrane is very sensetive to pressure exerted and it should be within +1% or -1% of the exact pressure required. The pressure required is about 10Mpa and after the temperature is highend, the pressure requirement may rise and must be applied accordingly.
Jason: I had previously studied in the Gallian manual that the Articus base requires a bit more than 10Mpa to allow the elevator into its territory.Since pressure is a direct variant of temperature here.The pressure required according to manual is :-
P=Gallian.Constant*(Applied temperature - surrounding temperature)/{delta(Applied temperature)-delta(surrounding temperature)}.
Edwards: Oh the expression looks pretty complex.
Jason: It's my time to try now. Fortunately, my BubbleCommander device recorded the final temperature and surrounding temperature at the present and at ten minutes prior to comilation of the REPAIR procedures. There was a marginal rise in temperature in both the scenarios.
Quickly, Jason composed the following lines
--initilise
Process bombardment()
declare dimensions
surr_temp1 temperature%Type:= 15
surr_temp2 temperature%Type:= 17
app_temp1 temperature%Type:= 25
app_temp2 temperature%Type:= 28
Pressure Pressure%Type
Begin
Pressure=Gallian.constant(app_temp2-surr_temp2){(app_temp2-app_temp1)-(surr_temp2-surr_temp1
)}
[which evaluates to
P=Gallian.constant*(28-17){(28-25)-(17-15)}=10MPa*11=110MPa.]
REPEAT Bombard.Process until
Pressure-0.1*Pressure<=Process.Pressure<=Pressure+0.1*Pressure
while(Process.Pressure
END
EXECUTE bombardment
RUN;
When Jason ran this code, the pegs of the elevator started bombarding heavily for both men knew achieving about 110 MPa would take some time.Within five minutes the desired pressure was achieved and the Articus entrance allowed the elevator into its ecosystem.
Finally Jason and Edwards emerged out of the elevator and breathed artificial oxygen.They were delighted to be inside the scientific marvel known as Articus.
Points: 13620
Reviews: 212
Donate